We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03dfba1 + c90e425 commit 60cecadCopy full SHA for 60cecad
articles/container-instances/container-instances-github-action.md
@@ -249,11 +249,11 @@ jobs:
249
creds: ${{ secrets.AZURE_CREDENTIALS }}
250
251
- name: 'Build and push image'
252
- uses: azure/docker-login@v1
+ uses: docker/login-action@v3
253
with:
254
- login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
255
- username: ${{ secrets.REGISTRY_USERNAME }}
256
- password: ${{ secrets.REGISTRY_PASSWORD }}
+ registry: <registry-name>.azurecr.io
+ username: ${{ secrets.AZURE_CLIENT_ID }}
+ password: ${{ secrets.AZURE_CLIENT_SECRET }}
257
- run: |
258
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/sampleapp:${{ github.sha }}
259
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/sampleapp:${{ github.sha }}
0 commit comments