Skip to content

Commit 4f29053

Browse files
committed
add build provenance attestation
1 parent 9376d85 commit 4f29053

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/releases.yml

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
build:
1010
name: Upload Release Asset
1111
runs-on: ubuntu-latest
12+
permissions:
13+
attestations: write
14+
id-token: write
15+
contents: write
1216
steps:
1317
- name: Checkout code
1418
uses: actions/checkout@master
@@ -27,3 +31,8 @@ jobs:
2731
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2832
with:
2933
files: /tmp/${{ github.event.repository.name }}-${{ steps.tag.outputs.tag }}.zip
34+
35+
- name: Build provenance attestation
36+
uses: actions/attest-build-provenance@v2
37+
with:
38+
subject-path: /tmp/${{ github.event.repository.name }}-${{ steps.tag.outputs.tag }}.zip

0 commit comments

Comments
 (0)