From 26b70e0219a91e3cc961d728d48fdf05921d029f Mon Sep 17 00:00:00 2001 From: KMKoushik Date: Tue, 25 Jun 2024 09:11:07 +1000 Subject: [PATCH] Add permission to push packegs to ghcr --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a640682..de5e8ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,8 @@ jobs: build_and_publish_platform_containers: name: Build and publish platform containers runs-on: ubuntu-latest + permissions: + packages: write strategy: fail-fast: false matrix: @@ -74,6 +76,8 @@ jobs: create_and_publish_manifest: name: Create and publish manifest runs-on: ubuntu-latest + permissions: + packages: write needs: build_and_publish_platform_containers steps: - name: Checkout @@ -92,7 +96,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GH_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Create and push DockerHub manifest run: |