Pin azure cli to version 2.37.0

This commit is contained in:
Malte Poll 2022-07-07 14:48:04 +02:00
parent adcd00c8e2
commit 7411d04bcf
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
name: Build and Upload CoreOS debug image name: Build and Upload CoreOS debug image
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
AZ_CLI_VERSION: 2.37.0
on: on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -38,6 +39,7 @@ jobs:
- name: "Install azure CLI" - name: "Install azure CLI"
run: | run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install -y "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)"
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz rm azcopy.tar.gz

View File

@ -1,6 +1,7 @@
name: Build and Upload CoreOS name: Build and Upload CoreOS
env: env:
REGISTRY: ghcr.io REGISTRY: ghcr.io
AZ_CLI_VERSION: 2.37.0
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@ -63,6 +64,7 @@ jobs:
- name: "Install azure CLI" - name: "Install azure CLI"
run: | run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
sudo apt-get install -y "azure-cli=${AZ_CLI_VERSION}-1~$(lsb_release -sc)"
wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz wget -q https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar --strip-components 1 -xf azcopy.tar.gz tar --strip-components 1 -xf azcopy.tar.gz
rm azcopy.tar.gz rm azcopy.tar.gz