Skip to content

Commit e1dc04b

Browse files
Merge pull request #274510 from tomvcassidy/patch-1
fixing incorrect registry string in yaml
2 parents 10d9a09 + f143339 commit e1dc04b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/container-instances/container-instances-github-action.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ jobs:
251251
- name: 'Build and push image'
252252
uses: docker/login-action@v3
253253
with:
254-
registry: $({ secrets.REGISTRY_LOGIN_SERVER })
255-
username: ${{ secrets.AZURE_CLIENT_ID }}
256-
password: ${{ secrets.AZURE_CLIENT_SECRET }}
254+
registry: ${{ secrets.REGISTRY_LOGIN_SERVER }}
255+
username: ${{ secrets.REGISTRY_USERNAME }}
256+
password: ${{ secrets.REGISTRY_PASSWORD }}
257257
- run: |
258258
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/sampleapp:${{ github.sha }}
259259
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/sampleapp:${{ github.sha }}

0 commit comments

Comments
 (0)