Skip to content

Commit

Permalink
Adds sbom generation to gorelease action
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaize Kaye committed Jan 28, 2025
1 parent 84e7c53 commit f246add
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
echo "keyid: ${{ steps.import_gpg.outputs.keyid }}"
echo "name: ${{ steps.import_gpg.outputs.name }}"
- uses: anchore/sbom-action/[email protected] # installs syft
name: Download syft

- name: Build and Release
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ changelog:
exclude:
- '^docs:'
- '^test:'
# SBOM configuration
sboms:
- artifacts: archive

0 comments on commit f246add

Please sign in to comment.