From 7dbcfd7fca6b93617fea30a0905921da41bc2363 Mon Sep 17 00:00:00 2001 From: vlesich-sylabs Date: Wed, 6 Apr 2022 18:05:08 +0300 Subject: [PATCH] ci: update sbom format from spdx to cyclonedx --- .goreleaser.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f8a3532e..ed016d54 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -67,4 +67,7 @@ archives: - linux-builds sboms: - - artifacts: archive + - documents: + - "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.bom.cdx.json" + artifacts: binary + args: ["$artifact", "--file", "$document", "--output", "cyclonedx-json"]