Skip to content

Commit

Permalink
fix: Sign images keylessly as well
Browse files Browse the repository at this point in the history
  • Loading branch information
shubms committed Dec 12, 2024
1 parent b707057 commit 0a40c71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@ jobs:
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${images}
- name: Cleanup old images
uses: actions/delete-package-versions@v5
with:
package-name: ${{ matrix.image }}
package-type: container
min-versions-to-keep: 60
min-versions-to-keep: 30

0 comments on commit 0a40c71

Please sign in to comment.