From d519d36e36acbe9dc8a7c830318269ece522e3e6 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 14 Aug 2021 23:05:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=AB=20Attempting=20to=20authenticate?= =?UTF-8?q?=20to=20GHCR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fa6cb6fa..792336e7 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,8 +1,6 @@ # Builds a Docker image from with latest tag when master branch is updated # The publishes it to GitHub container registry as a package name: Build and Publish Docker Image to GHCR -permissions: - packages: write on: workflow_dispatch: push: @@ -24,7 +22,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.PAT_GHCR }} - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: