Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swissgrc/docker-azure-pipelines-azurecli-net8
🐳 Docker image for running Azure CLI commands in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-azurecli-net8
azure-cli azure-devops azure-pipelines docker hacktoberfest
Last synced: about 18 hours 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-net8
- Owner: swissgrc
- License: mit
- Created: 2023-12-07T17:15:00.000Z (12 months ago)
- Default Branch: develop
- Last Pushed: 2024-11-09T12:06:53.000Z (8 days ago)
- Last Synced: 2024-11-09T13:18:38.365Z (7 days ago)
- Topics: azure-cli, azure-devops, azure-pipelines, docker, hacktoberfest
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-azurecli
- Size: 42 KB
- Stars: 0
- Watchers: 2
- 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-net8/blob/main/LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/swissgrc/docker-azure-pipelines-azurecli-net8/publish.yml?branch=develop&style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-azurecli-net8/actions/workflows/publish.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swissgrc_docker-azure-pipelines-azurecli-net8&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-azurecli-net8) [![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-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.403 | 2.66.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/latest?style=flat-square) |
| latest-net8 | Identical to `latest` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/latest-net8?style=flat-square) |
| unstable | Latest unstable release (from `develop` branch) | swissgrc/azure-pipelines-dotnet:8.0.403 | 2.66.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/unstable?style=flat-square) |
| unstable-net8 | Identical to `unstable` tag | | | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/unstable-net8?style=flat-square) |
| 2.55.0-net8 | [Azure CLI 2.55.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#december-05-2023) | swissgrc/azure-pipelines-dotnet:8.0.100 | 2.55.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.55.0-net8?style=flat-square) |
| 2.56.0-net8 | [Azure CLI 2.56.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#january-09-2024) | swissgrc/azure-pipelines-dotnet:8.0.101 | 2.56.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.56.0-net8?style=flat-square) |
| 2.57.0-net8 | [Azure CLI 2.57.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#february-06-2024) | swissgrc/azure-pipelines-dotnet:8.0.200 | 2.57.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.57.0-net8?style=flat-square) |
| 2.58.0-net8 | [Azure CLI 2.58.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#march-05-2024) | swissgrc/azure-pipelines-dotnet:8.0.202 | 2.58.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.58.0-net8?style=flat-square) |
| 2.59.0-net8 | [Azure CLI 2.59.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#april-02-2024) | swissgrc/azure-pipelines-dotnet:8.0.204 | 2.59.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.59.0-net8?style=flat-square) |
| 2.60.0-net8 | [Azure CLI 2.60.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#april-30-2024) | swissgrc/azure-pipelines-dotnet:8.0.300 | 2.60.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.60.0-net8?style=flat-square) |
| 2.61.0-net8 | [Azure CLI 2.61.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#may-21-2024) | swissgrc/azure-pipelines-dotnet:8.0.301 | 2.61.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.61.0-net8?style=flat-square) |
| 2.62.0-net8 | [Azure CLI 2.62.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#july-09-2024) | swissgrc/azure-pipelines-dotnet:8.0.303 | 2.62.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.62.0-net8?style=flat-square) |
| 2.63.0-net8 | [Azure CLI 2.63.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#august-06-2024) | swissgrc/azure-pipelines-dotnet:8.0.400 | 2.63.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.63.0-net8?style=flat-square) |
| 2.64.0-net8 | [Azure CLI 2.64.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#september-03-2024) | swissgrc/azure-pipelines-dotnet:8.0.401 | 2.64.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.64.0-net8?style=flat-square) |
| 2.65.0-net8 | [Azure CLI 2.65.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#october-01-2024) | swissgrc/azure-pipelines-dotnet:8.0.402 | 2.65.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.65.0-net8?style=flat-square) |
| 2.66.0-net8 | [Azure CLI 2.66.0](https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#november-05-2024) | swissgrc/azure-pipelines-dotnet:8.0.403 | 2.66.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-azurecli/2.66.0-net8?style=flat-square) |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases