Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9
🐳 Docker image for running Azure CLI commands in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9
azure-cli azure-devops azure-pipelines docker hacktoberfest
Last synced: about 1 month ago
JSON representation
🐳 Docker image for running Azure CLI commands in an Azure Pipelines container job
- Host: GitHub
- URL: https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9
- Owner: swissgrc
- License: mit
- Created: 2024-12-02T09:10:36.000Z (about 1 month ago)
- Default Branch: develop
- Last Pushed: 2024-12-02T10:13:04.000Z (about 1 month ago)
- Last Synced: 2024-12-02T11:24:59.016Z (about 1 month ago)
- Topics: azure-cli, azure-devops, azure-pipelines, docker, hacktoberfest
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-azurecli
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docker image for running Azure CLI commands in an Azure Pipelines container job
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9/blob/main/LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/swissgrc/docker-azure-pipelines-azurecli-net9/publish.yml?branch=develop&style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9/actions/workflows/publish.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swissgrc_docker-azure-pipelines-azurecli-net9&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-azurecli-net9) [![Pulls](https://img.shields.io/docker/pulls/swissgrc/azure-pipelines-azurecli.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-azurecli) [![Stars](https://img.shields.io/docker/stars/swissgrc/azure-pipelines-azurecli.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-azurecli)
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:
```yaml
- stage: deploy
jobs:
- deployment: runAzureCLI
container: swissgrc/azure-pipelines-azurecli:latest-net9
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:9.0.100 | 2.67.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/latest?style=flat-square) |
| latest-net9 | Identical to `latest` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/latest-net9?style=flat-square) |
| unstable | Latest unstable release (from `develop` branch) | swissgrc/azure-pipelines-dotnet:9.0.100 | 2.67.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/unstable?style=flat-square) |
| unstable-net9 | Identical to `unstable` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/unstable-net9?style=flat-square) |
| 2.67.0-net9 | [Azure CLI 2.67.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#november-19-2024) | swissgrc/azure-pipelines-dotnet:9.0.100 | 2.67.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.67.0-net9?style=flat-square) |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases