From 2d9915da108b770384b673490a0b1f758b1e79f7 Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Tue, 2 Mar 2021 11:49:09 +1100 Subject: [PATCH] Try using `GITHUB_TOKEN` instead of a PAT. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07b0146..a727d97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/build-push-action@v2.2.2 @@ -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