From 37257a9076044d4059aa957ed63831079ed4fd27 Mon Sep 17 00:00:00 2001 From: ybelMekk Date: Thu, 27 Apr 2023 14:31:19 +0200 Subject: [PATCH] fix(workflow): key flag for attest command --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5c1cbb..e809203 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -161,7 +161,7 @@ jobs: echo '${{ secrets.COSIGN_PRIVATE_KEY }}' > cosign.key cosign sign --yes --key cosign.key ${{ env.IMAGE_NAME }}@${{ env.DIGEST }} cosign sign --yes --key cosign.key ${{ env.IMAGE_NAME }}@${{ env.DIGEST }} - cosign attest --yes --tlog-upload=false -- key cosing.key --predicate sbom.json --type cyclonedx ${{ env.IMAGE_NAME }}@${{ env.DIGEST }} + cosign attest --yes --tlog-upload=false --key cosing.key --predicate sbom.json --type cyclonedx ${{ env.IMAGE_NAME }}@${{ env.DIGEST }} env: COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} - name: Clean up