File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1182,6 +1182,7 @@ jobs:
1182
1182
1183
1183
- name : SBOM Generation and Attestation
1184
1184
if : github.ref == 'refs/heads/main'
1185
+ continue-on-error : true
1185
1186
env :
1186
1187
COSIGN_EXPERIMENTAL : 1
1187
1188
run : |
@@ -1200,7 +1201,7 @@ jobs:
1200
1201
syft "${IMAGE}" -o spdx-json > "${SBOM_FILE}"
1201
1202
1202
1203
echo "Attesting SBOM to image: ${IMAGE}"
1203
- cosign clean "${IMAGE}"
1204
+ cosign clean --force=true "${IMAGE}"
1204
1205
cosign attest --type spdxjson \
1205
1206
--predicate "${SBOM_FILE}" \
1206
1207
--yes \
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ jobs:
509
509
510
510
# Attest SBOM to multi-arch image
511
511
echo "Attesting SBOM to multi-arch image: ${{ steps.build_docker.outputs.multiarch_image }}"
512
- cosign clean "${{ steps.build_docker.outputs.multiarch_image }}"
512
+ cosign clean --force=true "${{ steps.build_docker.outputs.multiarch_image }}"
513
513
cosign attest --type spdxjson \
514
514
--predicate coder_${{ steps.version.outputs.version }}_sbom.spdx.json \
515
515
--yes \
@@ -522,7 +522,7 @@ jobs:
522
522
syft "${latest_tag}" -o spdx-json > coder_latest_sbom.spdx.json
523
523
524
524
echo "Attesting SBOM to latest image: ${latest_tag}"
525
- cosign clean "${latest_tag}"
525
+ cosign clean --force=true "${latest_tag}"
526
526
cosign attest --type spdxjson \
527
527
--predicate coder_latest_sbom.spdx.json \
528
528
--yes \
You can’t perform that action at this time.
0 commit comments