Skip to content

Commit

Permalink
fix cosign key issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cherrymu committed Aug 20, 2024
1 parent f6b847b commit 2e2cad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -60,4 +60,4 @@ jobs:
sudo mv cosign-linux-amd64 /usr/local/bin/cosign
- name: Sign Docker image
run: cosign sign --key ${{ secrets.COSIGN_PRIVATE_KEY }} ${{ secrets.DOCKER_USERNAME }}/hello-world-server:latest
run: echo "${{ secrets.COSIGN_PRIVATE_KEY }}" | cosign sign --key - ${{ secrets.DOCKER_USERNAME }}/hello-world-server:latest

0 comments on commit 2e2cad2

Please sign in to comment.