File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 54
54
echo BACKEND_ENDPOINT=${{ env.BACKEND_ENDPOINT }} >> .env.production
55
55
cat .env.production
56
56
57
+ - name : ACR Login
58
+ run : |
59
+ ACR_PASSWORD=$(az acr login --name ${{ env.AZURE_ACR_NAME }} --expose-token --output tsv --query accessToken)
60
+ echo "AZURE_ACR_PASSWORD=$(echo $ACR_PASSWORD)" >> $GITHUB_ENV
61
+
57
62
- name : ACR Login
58
63
uses : docker/login-action@v3
59
64
with :
70
75
tags : ${{ env.AZURE_ACR_NAME }}.azurecr.io/${{ env.AZURE_CONTAINER_NAME }}:${{ github.sha }}
71
76
file : code/Dockerfile
72
77
73
- - name : Azure Login
74
- uses : azure/login@v2
75
- with :
76
- client-id : ${{ env.AZURE_CLIENT_ID }}
77
- tenant-id : ${{ env.AZURE_TENANT_ID }}
78
- subscription-id : ${{ env.AZURE_SUBSCRIPTION_ID }}
79
-
80
78
- name : Deploy
81
79
uses : azure/cli@v2
82
80
with :
You can’t perform that action at this time.
0 commit comments