Skip to content

Commit

Permalink
Update legacy-release_sbom-generator.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rsh1k authored Aug 14, 2024
1 parent c80d082 commit b3f246e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/legacy-release_sbom-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ jobs:
run: |
pip install pipx
- name: Create SBOM folder
run: |
mkdir -p core/sbom
- name: Scan Docker Image with Syft
run: |
pipx run anchore_syft dotcms/dotcms:${{ env.DOTCMS_VERSION }} -o cyclonedx-xml > core/sbom/cyclonedx.json
- name: Rename SBOM file with dotCMS version
run: |
mkdir -p core/sbom
mv core/sbom/cyclonedx.json core/sbom/dotcms-${{ env.DOTCMS_VERSION }}.json
- name: Configure Git
Expand Down

0 comments on commit b3f246e

Please sign in to comment.