diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 85b3094..0868374 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -8,8 +8,6 @@ on: jobs: build-and-publish: runs-on: ubuntu-latest - permissions: - contents: write steps: - name: Checkout code @@ -28,7 +26,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GH_PAT }} - name: Build and push Docker image uses: docker/build-push-action@v6