Skip to content

Commit a239bdb

Browse files
authored
add attest-build-provenance action (#35)
1 parent 3c64aa4 commit a239bdb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/goreleaser.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
- "*"
88

99
permissions:
10-
contents: write
10+
id-token: write # for attestations
11+
contents: write # for update release assets
12+
attestations: write # for attestations
1113

1214
jobs:
1315
goreleaser:
@@ -27,3 +29,8 @@ jobs:
2729
args: release --clean
2830
env:
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
- name: Generate artifact attestation
33+
uses: actions/attest-build-provenance@v1
34+
with:
35+
subject-path: "dist/**/tfustomize*"
36+
subject-name: "tk3fftk/tfustomize"

0 commit comments

Comments
 (0)