From 98fb4d32145fbb789f228d7db076d1c22dafbc6e Mon Sep 17 00:00:00 2001 From: Philipp Strube Date: Mon, 9 Dec 2024 10:27:26 +0100 Subject: [PATCH] Add write packages permission for docker push --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aeee89a..bd70e25 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,9 @@ jobs: build-test-artifacts: runs-on: ubuntu-latest + permissions: + packages: write # required for docker push + steps: - name: "Checkout" uses: actions/checkout@v4 @@ -54,7 +57,8 @@ jobs: starter: ["multi-cloud", "aks", "eks", "gke", "kind"] permissions: - id-token: write # needed for keyless signing + id-token: write # required for keyless signing + packages: write # required for docker push steps: - name: "Free disk space" @@ -269,7 +273,7 @@ jobs: needs: [test, publish-image] permissions: - id-token: write # needed for keyless signing + id-token: write # required for keyless signing strategy: matrix: