@@ -126,7 +126,7 @@ jobs:
126
126
continue-on-error : true
127
127
- name : Attach cdx sbom
128
128
run : |
129
- corepack pnpm install --config.strict-dep-builds=true --package-import-method copy
129
+ corepack pnpm install --config.strict-dep-builds=true --package-import-method copy --frozen-lockfile
130
130
node bin/cdxgen.js -t docker -o cdxgen-oci-image.cdx.json ghcr.io/cyclonedx/cdxgen:latest
131
131
oras attach --artifact-type sbom/cyclonedx ghcr.io/cyclonedx/cdxgen:latest ./cdxgen-oci-image.cdx.json:application/json
132
132
oras discover --format tree ghcr.io/cyclonedx/cdxgen:latest
@@ -176,7 +176,7 @@ jobs:
176
176
labels : ${{ steps.meta2.outputs.labels }}
177
177
- name : Attach cdx sbom
178
178
run : |
179
- corepack pnpm install --config.strict-dep-builds=true --package-import-method copy
179
+ corepack pnpm install --config.strict-dep-builds=true --package-import-method copy --frozen-lockfile
180
180
node bin/cdxgen.js -t docker -o cdxgen-secure-oci-image.cdx.json ghcr.io/cyclonedx/cdxgen-secure:latest
181
181
oras attach --artifact-type sbom/cyclonedx ghcr.io/cyclonedx/cdxgen-secure:latest ./cdxgen-secure-oci-image.cdx.json:application/json
182
182
oras discover --format tree ghcr.io/cyclonedx/cdxgen-secure:latest
@@ -235,6 +235,22 @@ jobs:
235
235
push : true
236
236
tags : ${{ steps.meta2.outputs.tags }}
237
237
labels : ${{ steps.meta2.outputs.labels }}
238
+ - name : Attach cdx sbom
239
+ run : |
240
+ corepack pnpm install --config.strict-dep-builds=true --package-import-method copy --frozen-lockfile
241
+ node bin/cdxgen.js -t docker -o cdxgen-deno-oci-image.cdx.json ghcr.io/cyclonedx/cdxgen-deno:latest
242
+ oras attach --artifact-type sbom/cyclonedx ghcr.io/cyclonedx/cdxgen-deno:latest ./cdxgen-deno-oci-image.cdx.json:application/json
243
+ oras discover --format tree ghcr.io/cyclonedx/cdxgen-deno:latest
244
+ continue-on-error : true
245
+ if : startsWith(github.ref, 'refs/tags/')
246
+ - name : Attach cdx deno sbom to release
247
+ uses : softprops/action-gh-release@v2
248
+ if : startsWith(github.ref, 'refs/tags/')
249
+ with :
250
+ files : |
251
+ cdxgen-deno-oci-image.cdx.json
252
+ env :
253
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
238
254
containers-ppc64 :
239
255
if : github.repository == 'CycloneDX/cdxgen'
240
256
runs-on : ubuntu-latest
@@ -326,3 +342,19 @@ jobs:
326
342
push : true
327
343
tags : ${{ steps.meta5.outputs.tags }}
328
344
labels : ${{ steps.meta5.outputs.labels }}
345
+ - name : Attach cdx sbom
346
+ run : |
347
+ corepack pnpm install --config.strict-dep-builds=true --package-import-method copy --frozen-lockfile
348
+ node bin/cdxgen.js -t docker -o cdxgen-bun-oci-image.cdx.json ghcr.io/cyclonedx/cdxgen-bun:latest
349
+ oras attach --artifact-type sbom/cyclonedx ghcr.io/cyclonedx/cdxgen-bun:latest ./cdxgen-bun-oci-image.cdx.json:application/json
350
+ oras discover --format tree ghcr.io/cyclonedx/cdxgen-bun:latest
351
+ continue-on-error : true
352
+ if : startsWith(github.ref, 'refs/tags/')
353
+ - name : Attach cdx bun sbom to release
354
+ uses : softprops/action-gh-release@v2
355
+ if : startsWith(github.ref, 'refs/tags/')
356
+ with :
357
+ files : |
358
+ cdxgen-bun-oci-image.cdx.json
359
+ env :
360
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments