Skip to content

Commit 0c3cd04

Browse files
committed
DEBUG cdxgen
Signed-off-by: tdruez <[email protected]>
1 parent f87b442 commit 0c3cd04

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/sca-integration-cdxgen.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ permissions:
1111
contents: read
1212

1313
env:
14-
IMAGE_REFERENCE: "python:3.13.0-slim"
14+
# IMAGE_REFERENCE: "python:3.13.0-slim"
15+
IMAGE_REFERENCE: "alpine:3.17.0"
1516

1617
jobs:
1718
generate-and-load-sbom:
@@ -26,7 +27,7 @@ jobs:
2627
run: npm install @cyclonedx/cdxgen
2728

2829
- name: Generate SBOM with CycloneDX cdxgen
29-
run: npx cdxgen ${{ env.IMAGE_REFERENCE }} --type docker -output cdxgen-sbom.cdx.json
30+
run: cdxgen ${{ env.IMAGE_REFERENCE }} --type docker -output cdxgen-sbom.cdx.json --profile license-compliance --json-pretty
3031

3132
- name: Upload SBOM as GitHub Artifact
3233
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)