Skip to content

Commit 34f0aab

Browse files
committed
Add or update the App Service deployment workflow configuration from Azure Portal.
1 parent 0407cfa commit 34f0aab

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Diff for: .github/workflows/main_githubreposecretsapp.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ jobs:
2323
uses: docker/login-action@v2
2424
with:
2525
registry: https://githubreposecretscr.azurecr.io/
26-
username: ${{ secrets.AzureAppService_ContainerUsername_3aa392e9684d40e3b398c71b1d26b6e2 }}
27-
password: ${{ secrets.AzureAppService_ContainerPassword_223edf3cf9104425b323d1d0d06d998e }}
26+
username: ${{ secrets.AzureAppService_ContainerUsername_3bd8118989fb417d9ddf8b75d7734472 }}
27+
password: ${{ secrets.AzureAppService_ContainerPassword_ebfa87abfc71409ebf826ecc491e021b }}
2828

2929
- name: Build and push container image to registry
3030
uses: docker/build-push-action@v3
3131
with:
3232
push: true
33-
tags: githubreposecretscr.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_3aa392e9684d40e3b398c71b1d26b6e2 }}/githubreposecrets:${{ github.sha }}
34-
file: ./src/Dockerfile
35-
context: ./src
33+
tags: githubreposecretscr.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_3bd8118989fb417d9ddf8b75d7734472 }}/githubreposecretscr/githubreposecrets:${{ github.sha }}
34+
file: ./Dockerfile
3635

3736
deploy:
3837
runs-on: ubuntu-latest
@@ -48,5 +47,5 @@ jobs:
4847
with:
4948
app-name: 'githubreposecretsapp'
5049
slot-name: 'production'
51-
publish-profile: ${{ secrets.AzureAppService_PublishProfile_9eed1e88bdaa469cbcea66a3101a2894 }}
52-
images: 'githubreposecretscr.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_3aa392e9684d40e3b398c71b1d26b6e2 }}/githubreposecrets:${{ github.sha }}'
50+
publish-profile: ${{ secrets.AzureAppService_PublishProfile_c605cf7f796042bd9fdb21125b6b4435 }}
51+
images: 'githubreposecretscr.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_3bd8118989fb417d9ddf8b75d7734472 }}/githubreposecretscr/githubreposecrets:${{ github.sha }}'

0 commit comments

Comments
 (0)