Skip to content

Commit

Permalink
Merge pull request #11 from BitProcessor/patch/use-github-token
Browse files Browse the repository at this point in the history
Use GITHUB_TOKEN instead of CR_PAT
  • Loading branch information
BitProcessor authored Nov 25, 2021
2 parents 273e345 + 2814266 commit 9243448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Build image & push
run: |
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
[ "$VERSION" == "master" ] && VERSION=latest
Expand Down

0 comments on commit 9243448

Please sign in to comment.