Skip to content

Commit

Permalink
generate provenance attestation
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
  • Loading branch information
ndeloof committed May 7, 2024
1 parent 591d9eb commit c404f18
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
binary:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
attestations: write
needs:
- prepare
strategy:
Expand Down Expand Up @@ -94,6 +98,11 @@ jobs:
*.platform=${{ matrix.platform }}
*.cache-from=type=gha,scope=binary-${{ env.PLATFORM_PAIR }}
*.cache-to=type=gha,scope=binary-${{ env.PLATFORM_PAIR }},mode=max
-
name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ./bin/release/*
-
name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit c404f18

Please sign in to comment.