Merge pull request #10543 from vishalRGurrala/feature/generate-attestation-for-artifacts
Generate attestation for artifacts during release CI job
This commit is contained in:
commit
a26a33c3d9
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -137,6 +137,8 @@ jobs:
|
|||||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
id-token: write
|
||||||
|
attestations: write
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
needs: [build, check]
|
needs: [build, check]
|
||||||
@ -157,3 +159,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
builds/release-tars-**/*
|
builds/release-tars-**/*
|
||||||
make_latest: false
|
make_latest: false
|
||||||
|
- name: Attest Artifacts
|
||||||
|
uses: actions/attest-build-provenance@v1
|
||||||
|
with:
|
||||||
|
subject-path: ./builds/release-tars-**/*.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user