Skip to content

Commit

Permalink
Merge pull request #106 from jcansdale/ghcr-github-token
Browse files Browse the repository at this point in the history
Use ${{ github.token }} for ghcr.io
  • Loading branch information
jcansdale authored Mar 30, 2021
2 parents c17390f + 3df625c commit 996438c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
IMAGE_NAME: docker.pkg.github.com/jcansdale/gpr/gpr:latest

- name: Login to ghcr.io
run: docker login https://ghcr.io -u token --password-stdin <<< ${{ secrets.GHCR_TOKEN }}
run: docker login https://ghcr.io -u token --password-stdin <<< ${{ github.token }}

- name: Publish to ghcr.io
run: |
Expand Down

0 comments on commit 996438c

Please sign in to comment.