From 5e2be71210a8e558266f3516fed7bcdba1bc82b9 Mon Sep 17 00:00:00 2001 From: Chris W Date: Wed, 3 Jan 2024 09:21:48 -0700 Subject: [PATCH] better permissions --- .github/workflows/docker-publish.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 29de45f..f4d6d64 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -26,13 +26,8 @@ jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - packages: write - # This is used to complete the identity challenge - # with sigstore/fulcio when running outside of PRs. - id-token: write - + permissions: write-all + steps: - name: Checkout repository uses: actions/checkout@v3