Skip to content

Commit

Permalink
do not use extra unnecessary permisisons in build step
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Urson <[email protected]>
  • Loading branch information
notdurson committed Dec 17, 2024
1 parent 8b2b2d5 commit 62a6526
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/atlantis-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
name: Build Image
permissions:
id-token: write
packages: write
contents: read
attestations: write
strategy:
matrix:
Expand Down Expand Up @@ -154,7 +152,6 @@ jobs:
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.description'] }}

- name: "Sign and Attest Image"
if: env.PUSH == 'true'
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
with:
subject-digest: ${{ steps.build.outputs.digest }}
Expand Down

0 comments on commit 62a6526

Please sign in to comment.