From 3078286dd2eed581901b4828e27352564ecaa4cc Mon Sep 17 00:00:00 2001 From: weizhoublue <45163302+weizhoublue@users.noreply.github.com> Date: Tue, 18 Apr 2023 14:51:41 +0800 Subject: [PATCH] Update call-release-image.yaml --- .github/workflows/call-release-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/call-release-image.yaml b/.github/workflows/call-release-image.yaml index d798c33d..b3dc586c 100644 --- a/.github/workflows/call-release-image.yaml +++ b/.github/workflows/call-release-image.yaml @@ -159,7 +159,7 @@ jobs: wget https://github.com/anchore/syft/releases/download/v0.77.0/syft_0.77.0_linux_amd64.tar.gz tar xzvf syft_0.77.0_linux_amd64.tar.gz chmod +x syft - ./syft ${{ env.ONLINE_REGISTER }}/${{ github.repository }}-${{ matrix.name }}${{ env.RUN_SUFFIX }}@${DIGEST} > ${{ matrix.name }}_${DIGEST}.spdx + ./syft -o spdx ${{ env.ONLINE_REGISTER }}/${{ github.repository }}-${{ matrix.name }}${{ env.RUN_SUFFIX }}@${DIGEST} > ${{ matrix.name }}_${DIGEST}.spdx - name: Attach SBOM to Container Images if: ${{ env.RUN_PUSH == 'true' }}