Skip to content

Commit

Permalink
Try using GITHUB_TOKEN instead of a PAT.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Mar 2, 2021
1 parent 189feb3 commit 2d9915d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/[email protected]
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Set the value
run: |
echo "GH_TOKEN=${{ secrets.CR_PAT }}" >> $GITHUB_ENV
echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
echo "USERNAME=${{ secrets.DEPLOY_USERNAME }}" >> $GITHUB_ENV
- name: remote docker-compose up via ssh
Expand Down

0 comments on commit 2d9915d

Please sign in to comment.