Skip to content

Commit

Permalink
Merge pull request #347 from kbst/fix-packages-write
Browse files Browse the repository at this point in the history
Add write packages permission for docker push
  • Loading branch information
pst authored Dec 9, 2024
2 parents eb2935d + 98fb4d3 commit 18183ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 18183ce

Please sign in to comment.