Skip to content

Commit

Permalink
Added envvars to config.SBOM config
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanhall34 committed Sep 26, 2024
1 parent 1e1b2fa commit df20e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func Generate(dist string) config.Project {
DockerSigns: DockerSigns(),
SBOMs: SBOM(),
Version: 2,
Monorepo: config.Monorepo{
Monorepo: config.Monorepo{
TagPrefix: "v",
},
}
Expand Down Expand Up @@ -321,6 +321,7 @@ func SBOM() []config.SBOM {
{
ID: "archive",
Artifacts: "archive",
Env: []string{"SYFT_FILE_METADATA_SELECTION=all", "SYFT_FILE_METADATA_DIGESTS=sha256"},
},
{
ID: "package",
Expand Down

0 comments on commit df20e7a

Please sign in to comment.