Skip to content

Commit

Permalink
Use GITHUB_TOKEN instead of CR_PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
BitProcessor authored Nov 25, 2021
1 parent 273e345 commit 2814266
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 2814266

Please sign in to comment.