Skip to content

🐳 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-net8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

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

Tags

Tag Description Base Image Azure CLI Size
latest Latest stable release (from main branch) swissgrc/azure-pipelines-dotnet:8.0.301 2.61.0 Docker Image Size (tag)
latest-net8 Identical to latest tag Docker Image Size (tag)
unstable Latest unstable release (from develop branch) swissgrc/azure-pipelines-dotnet:8.0.301 2.61.0 Docker Image Size (tag)
unstable-net8 Identical to unstable tag Docker Image Size (tag)
2.55.0-net8 Azure CLI 2.55.0 swissgrc/azure-pipelines-dotnet:8.0.100 2.55.0 Docker Image Size (tag)
2.56.0-net8 Azure CLI 2.56.0 swissgrc/azure-pipelines-dotnet:8.0.101 2.56.0 Docker Image Size (tag)
2.57.0-net8 Azure CLI 2.57.0 swissgrc/azure-pipelines-dotnet:8.0.200 2.57.0 Docker Image Size (tag)
2.58.0-net8 Azure CLI 2.58.0 swissgrc/azure-pipelines-dotnet:8.0.202 2.58.0 Docker Image Size (tag)
2.59.0-net8 Azure CLI 2.59.0 swissgrc/azure-pipelines-dotnet:8.0.204 2.59.0 Docker Image Size (tag)
2.60.0-net8 Azure CLI 2.60.0 swissgrc/azure-pipelines-dotnet:8.0.300 2.60.0 Docker Image Size (tag)
2.61.0-net8 Azure CLI 2.61.0 swissgrc/azure-pipelines-dotnet:8.0.301 2.61.0 Docker Image Size (tag)