Skip to content

Commit b9ac863

Browse files
committed
Update GH attestation instructions
1 parent f1bef32 commit b9ac863

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/modules/reference/pages/catalog/github.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ be used as an input, for example
2424
${{ ARTIFACTS }}
2525
```
2626

27+
As an alternative you may supply the checksums file as input
28+
29+
```yaml
30+
- name: Release
31+
uses: jreleaser/release-action@v2
32+
with:
33+
arguments: release
34+
env:
35+
JRELEASER_PROJECT_VERSION: <my-project-version>
36+
37+
- name: Attestations
38+
uses: actions/attest-build-provenance@v1
39+
with:
40+
subject-checksums: out/jreleaser/checksums/checksums_sha256.txt
41+
predicate-type: 'https://example.com/predicate/v1'
42+
predicate: '{}'
43+
```
44+
2745
== Configuration
2846

2947
include::partial$legend.adoc[]

0 commit comments

Comments
 (0)