Skip to content

Commit

Permalink
security: Fix the Azure CLI version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jan 21, 2025
1 parent 3f72173 commit bb07eee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ on:
- main

env:
# CI/CD variables
CONTAINER_NAME: ${{ github.repository }}
CONTAINER_REGISTRY_GHCR: ghcr.io
CONTAINER_PLATFORMS: linux/amd64,linux/arm64/v8
# Tool versions
# See: https://github.com/azure/azure-cli/releases
AZURE_CLI_VERSION: 2.68.0
# https://github.com/docker/buildx/releases
BUILDX_VERSION: 0.17.1

Expand Down Expand Up @@ -113,7 +117,9 @@ jobs:
version: "0.5.x"

- name: Set up Azure CLI
run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install azure-cli=${{ env.AZURE_CLI_VERSION }}-1~$(lsb_release -cs)
# - name: Login to Azure
# uses: Azure/[email protected]
Expand Down

0 comments on commit bb07eee

Please sign in to comment.