Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
env:
# SET THESE
ACR_ADMIN_USERNAME: "<FILL ME IN>"
ACR_LOGIN_SERVER_URL: "<FILL ME IN>"
ACR_ADMIN_USERNAME: "AMKorderprocessingapp"
ACR_LOGIN_SERVER_URL: "amkorderprocessingapp-b2dqgmh7crbza3dh.azurecr.io"
# SET THESE IN GITHUB
ACR_ADMIN_PASSWORD: '${{ secrets.ACR_ADMIN_PASSWORD }}'
# DECIDE WHETHER YOU WANT A BRANCH CHECK - if so remove the other "if"
Expand All @@ -24,4 +24,4 @@ jobs:
- name: Docker login
run: echo $ACR_ADMIN_PASSWORD | docker login -u $ACR_ADMIN_USERNAME --password-stdin ${ACR_LOGIN_SERVER_URL}
- name: Push image
run: docker push ${ACR_LOGIN_SERVER_URL}/monitoring_workshop/unit-10-order-processing-app
run: docker push ${ACR_LOGIN_SERVER_URL}/monitoring_workshop/unit-10-order-processing-app
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: