Skip to content

Commit

Permalink
Update main_dotnetdockersamplewebapp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaanmugapriya authored Nov 8, 2023
1 parent 09af434 commit cc91387
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main_dotnetdockersamplewebapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
uses: docker/login-action@v2
with:
registry: https://dotnetdockersampleregistry.azurecr.io/
username: ${{ secrets.AzureAppService_ContainerUsername_68640b136b2b4731b54c4244244055b8 }}
password: ${{ secrets.AzureAppService_ContainerPassword_8f44244ca1a14604816e4989afd3d2fd }}
username: ${{ secrets.DEMO_DOCKER_USERNAME }}
password: ${{ secrets.DEMO_DOCKER_PASSWORD }}

- name: Build and push container image to registry
uses: docker/build-push-action@v3
with:
push: true
tags: dotnetdockersampleregistry.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_68640b136b2b4731b54c4244244055b8 }}/dotnetdockersample:${{ github.sha }}
tags: dotnetdockersampleregistry.azurecr.io/dotnetdockersample:${{ github.sha }}
file: ./Dockerfile

deploy:
Expand All @@ -48,4 +48,4 @@ jobs:
app-name: 'dotnetdockersamplewebapp'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_bcb7aade389544a3bdd4e2b9a0e351e1 }}
images: 'dotnetdockersampleregistry.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_68640b136b2b4731b54c4244244055b8 }}/dotnetdockersample:${{ github.sha }}'
images: 'dotnetdockersampleregistry.azurecr.io/dotnetdockersample:${{ github.sha }}'

0 comments on commit cc91387

Please sign in to comment.