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 18358ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ jobs:
release:
permissions:
contents: write # to create a release (ncipollo/release-action)
id-token: write
attestations: write

runs-on: ubuntu-latest
needs:
Expand Down Expand Up @@ -285,6 +287,11 @@ jobs:
name: Check artifacts
run: |
find bin/release -type f -exec file -e ascii -- {} +
-
name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ./bin/release/*
-
name: GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 18358ee

Please sign in to comment.