File tree 6 files changed +14
-6
lines changed
6 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
13
+
12
14
runs-on : ubuntu-latest
13
15
steps :
14
16
- name : Check out code
28
30
go build -v -o demo-repo-go-binary ./...
29
31
30
32
- name : Sign artifact
31
- uses : actions/attest-build-provenance@v1.0.0
33
+ uses : actions/attest-build-provenance@v1.4.1
32
34
with :
33
35
subject-path : ' ${{ github.workspace }}/demo-repo-go-binary'
34
36
Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
13
+
12
14
runs-on : ubuntu-latest
13
15
steps :
14
16
- name : Check out code
24
26
go build -v -o demo-repo-go-binary ./...
25
27
26
28
- name : Sign artifact
27
- uses : actions/attest-build-provenance@v1.0.0
29
+ uses : actions/attest-build-provenance@v1.4.1
28
30
with :
29
31
subject-path : ' ${{ github.workspace }}/demo-repo-go-binary'
30
32
Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
12
13
13
14
steps :
14
15
- name : Checkout repository
34
35
context : .
35
36
36
37
- name : Attest image
37
- uses : actions/attest-build-provenance@v1.0.0
38
+ uses : actions/attest-build-provenance@v1.4.1
38
39
with :
39
40
subject-name : ghcr.io/${{ github.repository }}
40
41
subject-digest : ${{ steps.push-step.outputs.digest }}
Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
12
13
13
14
steps :
14
15
- name : Checkout repository
31
32
file : Dockerfile.static
32
33
33
34
- name : Attest image
34
- uses : actions/attest-build-provenance@v1.0.0
35
+ uses : actions/attest-build-provenance@v1.4.1
35
36
with :
36
37
subject-name : ghcr.io/${{ github.repository }}
37
38
subject-digest : ${{ steps.push-step.outputs.digest }}
Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
12
13
13
14
steps :
14
15
- name : Checkout repository
31
32
file : Dockerfile.static
32
33
33
34
- name : Attest image
34
- uses : actions/attest-build-provenance@v1.0.0
35
+ uses : actions/attest-build-provenance@v1.4.1
35
36
with :
36
37
subject-name : ghcr.io/${{ github.repository }}
37
38
subject-digest : ${{ steps.push-step.outputs.digest }}
Original file line number Diff line number Diff line change 9
9
id-token : write
10
10
packages : write
11
11
contents : write
12
+ attestations : write
12
13
13
14
steps :
14
15
- name : Checkout repository
30
31
context : .
31
32
32
33
- name : Attest image
33
- uses : actions/attest-build-provenance@v1.0.0
34
+ uses : actions/attest-build-provenance@v1.4.1
34
35
with :
35
36
subject-name : ghcr.io/${{ github.repository }}
36
37
subject-digest : ${{ steps.push-step.outputs.digest }}
You can’t perform that action at this time.
0 commit comments