Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

security: Fix the Azure CLI version in CI

Clémence Lesnébb07eeef23e7
diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml
index 4d0ec36..6e85dc3 100644
--- a/.github/workflows/pipeline.yaml
+++ b/.github/workflows/pipeline.yaml
@@ -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
@@ -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]