From fe6fcc48b9b9c6f16e009513fd72595a01c91e19 Mon Sep 17 00:00:00 2001 From: Gert Drapers <1533850+gertd@users.noreply.github.com> Date: Sun, 13 Oct 2024 09:02:14 -0700 Subject: [PATCH] generate sbom by GOOS and GOARCH (#476) --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2262aa5e..5c9a523e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -210,7 +210,7 @@ sboms: # https://goreleaser.com/customization/sbom/ - id: default documents: - - "${artifact}.spdx.sbom.json" + - "${artifact}-{{.Os}}-{{.Arch}}.spdx.sbom.json" cmd: syft args: - "$artifact"