Skip to content

Commit 8d3b044

Browse files
committed
Add username and password fields for Azure Container Registry login step
1 parent fa58bea commit 8d3b044

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
uses: azure/docker-login@v1
2424
with:
2525
login-server: ${{ secrets.ACR_NAME }}.azurecr.io
26+
username: ${{ fromJson(secrets.AZURE_CREDENTIALS).clientId }}
27+
password: ${{ fromJson(secrets.AZURE_CREDENTIALS).clientSecret }}
2628

2729
- name: Build and push Docker image to ACR
2830
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)