Skip to content

Commit

Permalink
Made sure that the build attestation has the sufficient permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored May 16, 2024
1 parent c468d35 commit 4bf6599
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: write
attestations: write
outputs:
tags: ${{ steps.meta.outputs.tags }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/data-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ jobs:
context: ./data
dockerfile: Dockerfile
permissions:
id-token: write
contents: read
packages: write
attestations: write
2 changes: 2 additions & 0 deletions .github/workflows/server-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ jobs:
context: ./server
dockerfile: Dockerfile
permissions:
id-token: write
contents: read
packages: write
attestations: write
2 changes: 2 additions & 0 deletions .github/workflows/webclient-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
context: ./webclient
dockerfile: Dockerfile
permissions:
id-token: write
contents: read
packages: write
attestations: write

0 comments on commit 4bf6599

Please sign in to comment.