Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

🐳 Docker image for running Azure CLI commands in an Azure Pipelines container job

License

Notifications You must be signed in to change notification settings

swissgrc/docker-azure-pipelines-azurecli-net6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Docker image for running Azure CLI commands in an Azure Pipelines container job

License Build Quality Gate Status Pulls Stars

Docker image to run Azure CLI commands in Azure Pipelines container jobs.

Usage

This image can be used to run Azure CLI commands in Azure Pipelines container jobs.

Azure Pipelines Container Job

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-net6
        environment: smarthotel-dev
        strategy:
          runOnce:
            deploy:
              steps:
                - bash: |
                    az version

Tags

Tag Description Base Image Azure CLI Size
latest-net6 Latest stable release (from main branch) swissgrc/azure-pipelines-dotnet:6.0.427 2.66.0 Docker Image Size (tag)
unstable-net6 Latest unstable release (from develop branch) swissgrc/azure-pipelines-dotnet:6.0.427 2.66.0 Docker Image Size (tag)
2.37.0 Azure CLI 2.37.0 swissgrc/azure-pipelines-dotnet:6.0.301 2.37.0 Docker Image Size (tag)
2.38.0 Azure CLI 2.38.0 swissgrc/azure-pipelines-dotnet:6.0.302 2.38.0 Docker Image Size (tag)
2.39.0 Azure CLI 2.39.0 swissgrc/azure-pipelines-dotnet:6.0.302 2.39.0 Docker Image Size (tag)
2.39.1 Azure CLI 2.39.0 swissgrc/azure-pipelines-dotnet:6.0.302.1 2.39.0 Docker Image Size (tag)
2.40.0 Azure CLI 2.40.0 swissgrc/azure-pipelines-dotnet:6.0.400 2.40.0 Docker Image Size (tag)
2.41.0 Azure CLI 2.41.0 swissgrc/azure-pipelines-dotnet:6.0.402 2.41.0 Docker Image Size (tag)
2.42.0 Azure CLI 2.42.0 swissgrc/azure-pipelines-dotnet:6.0.402 2.42.0 Docker Image Size (tag)
2.43.0 Azure CLI 2.43.0 swissgrc/azure-pipelines-dotnet:6.0.404 2.43.0 Docker Image Size (tag)
2.44.0 Azure CLI 2.44.0 swissgrc/azure-pipelines-dotnet:6.0.405 2.44.0 Docker Image Size (tag)
2.45.0 Azure CLI 2.45.0 swissgrc/azure-pipelines-dotnet:6.0.406 2.45.0 Docker Image Size (tag)
2.46.0 Azure CLI 2.46.0 swissgrc/azure-pipelines-dotnet:6.0.407 2.46.0 Docker Image Size (tag)
2.47.0 Azure CLI 2.47.0 swissgrc/azure-pipelines-dotnet:6.0.408 2.47.0 Docker Image Size (tag)
2.48.0 Azure CLI 2.48.0 swissgrc/azure-pipelines-dotnet:6.0.408 2.48.0 Docker Image Size (tag)
2.48.1 Azure CLI 2.48.1 swissgrc/azure-pipelines-dotnet:6.0.408 2.48.1 Docker Image Size (tag)
2.49.0 Azure CLI 2.49.0 swissgrc/azure-pipelines-dotnet:6.0.408 2.49.0 Docker Image Size (tag)
2.50.0-net6 Azure CLI 2.50.0 swissgrc/azure-pipelines-dotnet:6.0.411 2.50.0 Docker Image Size (tag)
2.51.0-net6 Azure CLI 2.51.0 swissgrc/azure-pipelines-dotnet:6.0.412 2.51.0 Docker Image Size (tag)
2.52.0-net6 Azure CLI 2.52.0 swissgrc/azure-pipelines-dotnet:6.0.413 2.52.0 Docker Image Size (tag)
2.53.0-net6 Azure CLI 2.53.0 swissgrc/azure-pipelines-dotnet:6.0.414 2.53.0 Docker Image Size (tag)
2.53.1-net6 Azure CLI 2.53.1 swissgrc/azure-pipelines-dotnet:6.0.415 2.53.1 Docker Image Size (tag)
2.54.0-net6 Azure CLI 2.54.0 swissgrc/azure-pipelines-dotnet:6.0.416 2.54.0 Docker Image Size (tag)
2.55.0-net6 Azure CLI 2.55.0 swissgrc/azure-pipelines-dotnet:6.0.417 2.55.0 Docker Image Size (tag)
2.56.0-net6 Azure CLI 2.56.0 swissgrc/azure-pipelines-dotnet:6.0.418 2.56.0 Docker Image Size (tag)
2.57.0-net6 Azure CLI 2.57.0 swissgrc/azure-pipelines-dotnet:6.0.419 2.57.0 Docker Image Size (tag)
2.58.0-net6 Azure CLI 2.58.0 swissgrc/azure-pipelines-dotnet:6.0.420 2.58.0 Docker Image Size (tag)
2.59.0-net6 Azure CLI 2.59.0 swissgrc/azure-pipelines-dotnet:6.0.421 2.59.0 Docker Image Size (tag)
2.60.0-net6 Azure CLI 2.60.0 swissgrc/azure-pipelines-dotnet:6.0.422 2.60.0 Docker Image Size (tag)
2.61.0-net6 Azure CLI 2.61.0 swissgrc/azure-pipelines-dotnet:6.0.423 2.61.0 Docker Image Size (tag)
2.62.0-net6 Azure CLI 2.62.0 swissgrc/azure-pipelines-dotnet:6.0.424 2.62.0 Docker Image Size (tag)
2.63.0-net6 Azure CLI 2.63.0 swissgrc/azure-pipelines-dotnet:6.0.425 2.63.0 Docker Image Size (tag)
2.64.0-net6 Azure CLI 2.64.0 swissgrc/azure-pipelines-dotnet:6.0.425 2.64.0 Docker Image Size (tag)
2.65.0-net6 Azure CLI 2.65.0 swissgrc/azure-pipelines-dotnet:6.0.425 2.65.0 Docker Image Size (tag)
2.66.0-net6 Azure CLI 2.66.0 swissgrc/azure-pipelines-dotnet:6.0.427 2.66.0 Docker Image Size (tag)

Configuration

These environment variables are supported:

Environment variable Default value Description
AZURECLI_VERSION 2.65.0 Version of Azure CLI installed in the image.