Skip to content

Commit 17f07aa

Browse files
Update docker-publish.yml
1 parent 1be63e5 commit 17f07aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
registry: ghcr.io
4545
username: ${{ github.actor }}
46-
password: ${{ secrets.GITHUB_TOKEN }}
46+
password: ${{ secrets.GHCR_PAT }}
4747

4848
- name: 'Publish Auction Database Docker Image'
4949
working-directory: ${{ github.workspace }}/db
@@ -58,4 +58,4 @@ jobs:
5858
run: |
5959
docker build . -t ghcr.io/phuuthanh2003/auction-api:${{ steps.get_version.outputs.version }} -t ghcr.io/phuuthanh2003/auction-api:latest
6060
docker push ghcr.io/phuuthanh2003/auction-api:${{ steps.get_version.outputs.version }}
61-
docker push ghcr.io/phuuthanh2003/auction-api:latest
61+
docker push ghcr.io/phuuthanh2003/auction-api:latest

0 commit comments

Comments
 (0)