From df1fdcbb14c9cfbb4cf739f7dba682c327d079be Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Sun, 18 Dec 2022 16:37:02 +0100 Subject: [PATCH] attach sbom to GH release next time --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee01b9a..453e7c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,12 @@ jobs: with: cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml - - name: Publish SBOM + - name: Create SBOM uses: anchore/sbom-action@v0 with: image: lerentis/bitwarden-crd-operator:${{ steps.app_version.outputs.result }} + + - name: Publish SBOM + uses: anchore/sbom-action/publish-sbom@v0 + with: + sbom-artifact-match: ".*\\.spdx$"