Skip to content

Commit

Permalink
change paths of generated boms
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakmeth committed Dec 4, 2023
1 parent 7b69ad4 commit eebe25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/owasp-dt-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:

- name: 'Generate SBOM for npm dependencies'
working-directory: frontend
run: cdxgen -o ../target/sbom-npm.xml -t npm .
run: cdxgen -o ../sbom-npm.xml -t npm .

- name: 'Merge frontend and backend SBOMs'
run: |
docker run --rm -v $(pwd):/data cyclonedx/cyclonedx-cli merge --input-files backend/target/bom.xml target/sbom-npm.xml --output-file target/sbom.xml
docker run --rm -v $(pwd):/data cyclonedx/cyclonedx-cli merge --input-files backend/target/bom.xml ../sbom-npm.xml --output-file target/sbom.xml
- name: 'Push merged SBOM to dependency track'
env:
Expand Down

0 comments on commit eebe25f

Please sign in to comment.