Skip to content

Commit 2d9915d

Browse files
committed
Try using GITHUB_TOKEN instead of a PAT.
1 parent 189feb3 commit 2d9915d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
registry: ghcr.io
1919
username: ${{ github.repository_owner }}
20-
password: ${{ secrets.CR_PAT }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
2121

2222
- name: Build and push Docker images
2323
uses: docker/build-push-action@v2.2.2
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Set the value
6565
run: |
66-
echo "GH_TOKEN=${{ secrets.CR_PAT }}" >> $GITHUB_ENV
66+
echo "GH_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
6767
echo "USERNAME=${{ secrets.DEPLOY_USERNAME }}" >> $GITHUB_ENV
6868
6969
- name: remote docker-compose up via ssh

0 commit comments

Comments
 (0)