File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ concurrency:
38
38
run-name : ${{ inputs.node_tag || inputs.signer_tag }}
39
39
40
40
jobs :
41
- # # This job's sole purpose is trigger a secondary approval outside of the matrix jobs below.
41
+ # # This job's sole purpose is trigger a secondary approval outside of the matrix jobs below.
42
42
# # - If this job isn't approved to run, then the subsequent jobs will also not run - for this reason, we always exit 0
43
- # # - `andon-cord` requires the repo environment "Build Release", which will trigger a secondary approval step before running this workflow.
43
+ # # - `andon-cord` requires the repo environment "Build Release", which will trigger a secondary approval step before running this workflow.
44
44
andon-cord :
45
45
if : |
46
46
inputs.node_tag != '' ||
@@ -135,11 +135,14 @@ jobs:
135
135
inputs.signer_tag != ''
136
136
name : Docker Image (Binary)
137
137
runs-on : ubuntu-latest
138
+ environment : " Push to Docker"
139
+ permissions :
140
+ id-token : write
141
+ attestations : write
138
142
needs :
139
143
- andon-cord
140
144
- build-binaries
141
145
- create-release
142
- environment : " Push to Docker"
143
146
strategy :
144
147
fail-fast : false
145
148
# # Build a maximum of 2 images concurrently based on matrix.dist
Original file line number Diff line number Diff line change 77
77
id : attest_primary
78
78
uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
79
79
with :
80
- # subject-name: index.docker.io/${{ env.docker-org }}/${{ github.event.repository.name }}
81
- subject-name : |
80
+ subject-name : |
82
81
index.docker.io/${{env.docker-org}}/${{ github.event.repository.name }}
83
82
subject-digest : ${{ steps.docker_build.outputs.digest }}
84
83
push-to-registry : true
87
86
id : attest_secondary
88
87
uses : actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3
89
88
with :
90
- # subject-name: index.docker.io/${{ env.docker-org }}/${{ github.event.repository.name }}
91
- subject-name : |
89
+ subject-name : |
92
90
index.docker.io/${{env.docker-org}}/stacks-blockchain
93
91
subject-digest : ${{ steps.docker_build.outputs.digest }}
94
92
push-to-registry : true
You can’t perform that action at this time.
0 commit comments