From 18540f3c5b38fe4b3d5084332f3f0333b7dae30f Mon Sep 17 00:00:00 2001 From: Gustavo Hidalgo Date: Mon, 1 Apr 2024 13:04:33 -0400 Subject: [PATCH] install azcli (#197) --- .github/workflows/cicd.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 21a3b1f7..bda6f43b 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -28,13 +28,14 @@ jobs: ;; esac - - name: Log into the ACR + - name: Authenticate env: CLIENT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientId }} CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }} run: - docker login pcccr.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET} && \ - az acr login --name pcccr --username ${CLIENT_ID} --password ${CLIENT_SECRET} + curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \ + az acr login --name pcccr --username ${CLIENT_ID} --password ${CLIENT_SECRET} && \ + docker login pcccr.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET} - name: Publish images run: ./scripts/cipublish --acr pcccr --tag ${{steps.get_image_tag.outputs.tag}}