Skip to content

Commit

Permalink
github/actions: fix extension for SBOM file
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik committed Jan 30, 2024
1 parent 927b176 commit c5fc3e6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,19 @@ jobs:
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

# Needed for syft to generate SBOM also for npm dependencies
- name: Install npm
uses: actions/setup-node@v4
with:
node-version: 18
- name: Get npm dependencies
run: |
cd web
npm install
- name: Generate SBOM
uses: anchore/sbom-action@v0
with:
path: .
artifact-name: sbom.spdx
artifact-name: sbom.spdx.json
upload-artifact-retention: 14

0 comments on commit c5fc3e6

Please sign in to comment.