Skip to content

Commit

Permalink
Add licenses in sbom from mod cache
Browse files Browse the repository at this point in the history
  • Loading branch information
maraino committed Feb 14, 2024
1 parent c634107 commit 27803fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ sboms:
- id: archive
artifacts: archive
args: ["$artifact", "--output", "cyclonedx-json=$document"]
env:
- SYFT_GOLANG_SEARCH_LOCAL_MOD_CACHE_LICENSES=true
- id: binary
artifacts: binary
args: ["$artifact", "--output", "cyclonedx-json=$document"]
Expand Down
2 changes: 1 addition & 1 deletion docker/build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ apt install --no-install-recommends -y curl pkg-config libpcsclite-dev libpcscli
# Install syft
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin

exec /entrypoint.sh $@
exec /entrypoint.sh $@

0 comments on commit 27803fd

Please sign in to comment.