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-net7
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
az version
Tag | Description | Base Image | Azure CLI | Size |
---|---|---|---|---|
latest-net7 | Identical to latest tag |
swissgrc/azure-pipelines-dotnet:7.0.409 | 2.60.0 | |
unstable-net7 | Identical to unstable tag |
swissgrc/azure-pipelines-dotnet:7.0.409 | 2.61.0 | |
2.49.0-net7 | Azure CLI 2.49.0 | swissgrc/azure-pipelines-dotnet:7.0.304 | 2.49.0 | |
2.50.0-net7 | Azure CLI 2.50.0 | swissgrc/azure-pipelines-dotnet:7.0.305 | 2.50.0 | |
2.51.0-net7 | Azure CLI 2.51.0 | swissgrc/azure-pipelines-dotnet:7.0.306 | 2.51.0 | |
2.52.0-net7 | Azure CLI 2.52.0 | swissgrc/azure-pipelines-dotnet:7.0.400 | 2.52.0 | |
2.53.0-net7 | Azure CLI 2.53.0 | swissgrc/azure-pipelines-dotnet:7.0.401 | 2.53.0 | |
2.53.1-net7 | Azure CLI 2.53.1 | swissgrc/azure-pipelines-dotnet:7.0.402 | 2.53.1 | |
2.54.0-net7 | Azure CLI 2.54.0 | swissgrc/azure-pipelines-dotnet:7.0.403 | 2.54.0 | |
2.55.0-net7 | Azure CLI 2.55.0 | swissgrc/azure-pipelines-dotnet:7.0.404 | 2.55.0 | |
2.56.0-net7 | Azure CLI 2.56.0 | swissgrc/azure-pipelines-dotnet:7.0.405 | 2.56.0 | |
2.57.0-net7 | Azure CLI 2.57.0 | swissgrc/azure-pipelines-dotnet:7.0.406 | 2.57.0 | |
2.58.0-net7 | Azure CLI 2.58.0 | swissgrc/azure-pipelines-dotnet:7.0.407 | 2.58.0 | |
2.59.0-net7 | Azure CLI 2.59.0 | swissgrc/azure-pipelines-dotnet:7.0.408 | 2.59.0 | |
2.60.0-net7 | Azure CLI 2.60.0 | swissgrc/azure-pipelines-dotnet:7.0.409 | 2.60.0 |