Skip to content

Commit

Permalink
upgrade cdxgen to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole authored and ptzianos committed Aug 26, 2024
1 parent b9238f0 commit cae840a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions components/producers/cdxgen/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
description: The workspace containing the source-code to scan.
steps:
- name: run-cdxgen
image: ghcr.io/cyclonedx/cdxgen:v9.8.10
image: ghcr.io/cyclonedx/cdxgen:v10.9.5
env:
- name: FETCH_LICENSE
value: $(params.producer-cdxgen-fetch-license)
Expand All @@ -43,8 +43,17 @@ spec:
value: $(params.producer-cdxgen-astgen-ignore-file-pattern)
- name: ASTGEN_IGNORE_DIRS
value: $(params.producer-cdxgen-astgen-ignore-dirs)
script: |
node /opt/cdxgen/bin/cdxgen.js -r -p -o /scratch/out.json $(workspaces.output.path)/ --spec-version 1.4
command:
- node
args:
- /opt/cdxgen/bin/cdxgen.js
- -r
- -p
- -o
- /scratch/out.json
- $(workspaces.output.path)/
- --spec-version
- "1.5"
volumeMounts:
- mountPath: /scratch
name: scratch
Expand Down

0 comments on commit cae840a

Please sign in to comment.