Docker image to run Azure CLI commands in Azure Pipelines container jobs.
This image can be used to run Azure CLI commands in Azure Pipelines container jobs.
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container
property.
The following example shows the container used for a deployment step with a Azure CLI command:
- stage: deploy
jobs:
- deployment: runAzureCLI
container: swissgrc/azure-pipelines-azurecli:latest-net8
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
az version
Tag | Description | Base Image | Azure CLI | Size |
---|---|---|---|---|
latest | Latest stable release (from main branch) |
swissgrc/azure-pipelines-dotnet:8.0.403 | 2.66.0 | |
latest-net8 | Identical to latest tag |
|||
unstable | Latest unstable release (from develop branch) |
swissgrc/azure-pipelines-dotnet:8.0.403 | 2.66.0 | |
unstable-net8 | Identical to unstable tag |
|||
2.55.0-net8 | Azure CLI 2.55.0 | swissgrc/azure-pipelines-dotnet:8.0.100 | 2.55.0 | |
2.56.0-net8 | Azure CLI 2.56.0 | swissgrc/azure-pipelines-dotnet:8.0.101 | 2.56.0 | |
2.57.0-net8 | Azure CLI 2.57.0 | swissgrc/azure-pipelines-dotnet:8.0.200 | 2.57.0 | |
2.58.0-net8 | Azure CLI 2.58.0 | swissgrc/azure-pipelines-dotnet:8.0.202 | 2.58.0 | |
2.59.0-net8 | Azure CLI 2.59.0 | swissgrc/azure-pipelines-dotnet:8.0.204 | 2.59.0 | |
2.60.0-net8 | Azure CLI 2.60.0 | swissgrc/azure-pipelines-dotnet:8.0.300 | 2.60.0 | |
2.61.0-net8 | Azure CLI 2.61.0 | swissgrc/azure-pipelines-dotnet:8.0.301 | 2.61.0 | |
2.62.0-net8 | Azure CLI 2.62.0 | swissgrc/azure-pipelines-dotnet:8.0.303 | 2.62.0 | |
2.63.0-net8 | Azure CLI 2.63.0 | swissgrc/azure-pipelines-dotnet:8.0.400 | 2.63.0 | |
2.64.0-net8 | Azure CLI 2.64.0 | swissgrc/azure-pipelines-dotnet:8.0.401 | 2.64.0 | |
2.65.0-net8 | Azure CLI 2.65.0 | swissgrc/azure-pipelines-dotnet:8.0.402 | 2.65.0 | |
2.66.0-net8 | Azure CLI 2.66.0 | swissgrc/azure-pipelines-dotnet:8.0.403 | 2.66.0 |