File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ jobs:
116
116
- name : Generate release artifacts
117
117
run : |
118
118
make release-plugins
119
+ make checksums
119
120
make manifests IMAGE_TAG=${{ github.event.inputs.tag }}
120
121
121
122
- name : Generate SBOM (spdx)
@@ -183,8 +184,9 @@ jobs:
183
184
184
185
- name : Sign checksums and create public key for release assets
185
186
run : |
186
- cosign sign-blob --key env://COSIGN_PRIVATE_KEY dist/argo-rollouts-checksums.txt > dist/argo-rollouts-checksums.sig
187
+ cosign sign-blob --key env://COSIGN_PRIVATE_KEY ./ dist/argo-rollouts-checksums.txt > ./ dist/argo-rollouts-checksums.sig
187
188
cosign public-key --key env://COSIGN_PRIVATE_KEY > ./dist/argo-rollouts-cosign.pub
189
+ cosign sign-blob --key env://COSIGN_PRIVATE_KEY /tmp/sbom.tar.gz > /tmp/sbom.tar.gz.sig
188
190
# Displays the public key to share.
189
191
cosign public-key --key env://COSIGN_PRIVATE_KEY
190
192
env :
@@ -216,5 +218,6 @@ jobs:
216
218
manifests/notifications-install.yaml
217
219
docs/features/kustomize/rollout_cr_schema.json
218
220
/tmp/sbom.tar.gz
221
+ /tmp/sbom.tar.gz.sig
219
222
env :
220
223
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -275,3 +275,7 @@ release: release-precheck precheckin image plugin-image release-plugins
275
275
trivy :
276
276
@trivy fs --clear-cache
277
277
@trivy fs .
278
+
279
+ .PHONY : checksums
280
+ checksums :
281
+ shasum -a 256 ./dist/kubectl-argo-rollouts-* | awk -F ' ./dist/' ' {print $$1 $$2}' > ./dist/argo-rollouts-checksums.txt
Original file line number Diff line number Diff line change 17
17
18
18
docker rm -v ${container_id}
19
19
rm -f ${rollout_iid_file}
20
-
21
- cd ${SRCROOT} /dist/
22
- shasum -a 256 kubectl-argo-rollouts-* > argo-rollouts-checksums.txt
You can’t perform that action at this time.
0 commit comments