Skip to content

Commit

Permalink
Add or update the App Service deployment workflow configuration from …
Browse files Browse the repository at this point in the history
…Azure Portal.
  • Loading branch information
SahilChowkekar committed Sep 8, 2023
1 parent 58f07cf commit f9e2a84
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/master_studentperformancecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Log in to registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: testdockersahil.azurecr.io
username: ${{ secrets.AzureAppService_ContainerUsername_7fe4218b75d44acd982fcba49ee541c7 }}
password: ${{ secrets.AzureAppService_ContainerPassword_d7568033888947cf97273dac9a37d852 }}
registry: https://testdockersahil.azurecr.io/
username: ${{ secrets.AzureAppService_ContainerUsername_8cb0509967954e8b8d83cd1402ce57e4 }}
password: ${{ secrets.AzureAppService_ContainerPassword_54744222f3094bffb3b19c8f5763e785 }}

- name: Build and push container image to registry
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
tags: testdockersahil.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_7fe4218b75d44acd982fcba49ee541c7 }}/studentperformance:${{ github.sha }}
tags: testdockersahil.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_8cb0509967954e8b8d83cd1402ce57e4 }}/studentperformance:${{ github.sha }}
file: ./Dockerfile

deploy:
Expand All @@ -47,5 +47,5 @@ jobs:
with:
app-name: 'studentperformancecheck'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_1fbf117736ee417e9fb28f9f53c3edad }}
images: 'testdockersahil.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_7fe4218b75d44acd982fcba49ee541c7 }}/studentperformance:${{ github.sha }}'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_bd446e0cfff54eedbbc193eb775d39cd }}
images: 'testdockersahil.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_8cb0509967954e8b8d83cd1402ce57e4 }}/studentperformance:${{ github.sha }}'

0 comments on commit f9e2a84

Please sign in to comment.