Skip to content

Commit

Permalink
Update Workfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSouchet committed Nov 27, 2023
1 parent 6ecbab5 commit 6590d7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6590d7a

Please sign in to comment.