From 6590d7a443ec504d632b12a220a82d8f79006d5a Mon Sep 17 00:00:00 2001 From: BenSouchet Date: Mon, 27 Nov 2023 17:53:17 +0100 Subject: [PATCH] Update Workfile --- .github/workflows/docker-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ad3a30a..afe2b90 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -70,10 +70,8 @@ jobs: cache-to: type=gha,mode=max - name: Sign images with a key - run: echo -e "${TAGS}" | xargs -I {} sh -c 'cosign sign --yes --key env://COSIGN_PRIVATE_KEY "${}@${DIGEST}"' + run: echo -e "${TAGS}" | xargs -I {} sh -c 'cosign sign --yes "${}@${DIGEST}"' env: TAGS: ${{ steps.docker_meta.outputs.tags }} - COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }} - COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} COSIGN_EXPERIMENTAL: "true" DIGEST: ${{ steps.build-and-push.outputs.digest }}