Use GITHUB_TOKEN instead of PAT to upload image to ghcr

This commit is contained in:
Yuta Saito 2022-07-22 14:24:08 +00:00
parent 9c0abbf013
commit ddefd139a0
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ jobs:
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Docker image - name: Push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2