Skip to content

Commit fba21fe

Browse files
committed
update gitub deploy action.
1 parent 64cb89a commit fba21fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/azure-container-webapp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
- name: Log in to GitHub container registry
5353
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
5454
with:
55-
registry: ghcr.io
56-
username: ${{ github.actor }}
57-
password: ${{ github.token }}
55+
registry: trackmate.azurecr.io
56+
username: ${{ secrets.AZURE_CONTAINER_REGISTRY_USER }}
57+
password: ${{ secrets.AZURE_CONTAINER_REGISTRY_PASSWORD }}
5858

5959
- name: Lowercase the repo name and username
6060
run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
@@ -63,7 +63,7 @@ jobs:
6363
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
6464
with:
6565
push: true
66-
tags: ghcr.io/${{ env.REPO }}:${{ github.sha }}
66+
tags: trackmate.azurecr.io/${{ env.REPO }}:${{ github.sha }}
6767
file: ./Dockerfile
6868

6969
deploy:
@@ -85,4 +85,4 @@ jobs:
8585
with:
8686
app-name: ${{ env.AZURE_WEBAPP_NAME }}
8787
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
88-
images: 'ghcr.io/${{ env.REPO }}:${{ github.sha }}'
88+
images: 'trackmate.azurecr.io/${{ env.REPO }}:${{ github.sha }}'

0 commit comments

Comments
 (0)