Skip to content

Commit

Permalink
Fix SBOM generation of frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ioboi committed Feb 5, 2024
1 parent 5494691 commit d4bf076
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
cdxgen -o ./sbom-ruby.xml -t ruby .
- name: 'Generate SBOM for npm dependencies'
working-directory: frontend
run: |
cdxgen -o ../sbom-npm.xml -t npm .
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 data/sbom-ruby.xml data/sbom-npm.xml --output-file data/sbom.xml
uses: docker://cyclonedx/cyclonedx-cli
with:
args: merge --input-files data/sbom-ruby.xml data/sbom-npm.xml --output-file sbom.xml

- name: 'Push merged SBOM to dependency track'
env:
Expand Down

0 comments on commit d4bf076

Please sign in to comment.