Skip to content

Commit 1fdc9c6

Browse files
authored
Add artifact attestation (#1136)
* Add artifact attestation * Fix subject-path
1 parent 598cec2 commit 1fdc9c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
permissions:
88
contents: read
99
packages: write
10+
attestations: write
1011

1112
jobs:
1213
containers:
@@ -76,6 +77,13 @@ jobs:
7677
- name: Publish Binaries
7778
run: ./build.sh publishzip
7879
shell: bash
80+
81+
- name: Generate artifact attestation
82+
uses: actions/attest-build-provenance@v2
83+
with:
84+
subject-path: |
85+
.artifacts/publish/docs-builder/release/*.zip
86+
.artifacts/publish/docs-assembler/release/*.zip
7987
8088
- name: Attach Distribution to release
8189
env:

0 commit comments

Comments
 (0)