Skip to content

Commit

Permalink
ci: install syft bin & add source sbom gen
Browse files Browse the repository at this point in the history
  • Loading branch information
y-eight committed Jan 3, 2025
1 parent 7a7257e commit 4b03d83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: install syft
uses: anchore/sbom-action/[email protected]

- name: Build snapshot artifacts
uses: goreleaser/goreleaser-action@v6
Expand Down
5 changes: 4 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ nfpms:
- rpm
- apk
sboms:
- artifacts: archive
- id: archive
artifacts: archive
- id: source
artifacts: source

0 comments on commit 4b03d83

Please sign in to comment.