Skip to content

Commit

Permalink
build: add .sbom for archive artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
maier committed Nov 28, 2023
1 parent 31029c4 commit 6aef5e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ checksum:

snapshot:
name_template: '{{ incpatch .Version }}-devel'

sboms:
- artifacts: archive
args: ["$artifact", "--output", "cyclonedx-json@1.5=$document"]
env:
- SYFT_GOLANG_SEARCH_LOCAL_MOD_CACHE_LICENSES=true
- SYFT_GOLANG_SEARCH_REMOTE_LICENSES=true

0 comments on commit 6aef5e0

Please sign in to comment.