Skip to content

Commit

Permalink
install azcli (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidalgo3 committed Apr 1, 2024
1 parent 35724a4 commit 18540f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 18540f3

Please sign in to comment.