Skip to content

Files

Latest commit

9bd9d39 · Feb 14, 2025

History

History
45 lines (33 loc) · 3.15 KB
·

File metadata and controls

45 lines (33 loc) · 3.15 KB
·

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

Included Software

Tags

Tag Description Size
latest-net8 Latest stable release (from main branch) Docker Image Size (tag)
unstable-net8 Latest unstable release (from develop branch) Docker Image Size (tag)
x.y.z-net8 Image for a specific version of Azure CLI