Skip to content

Commit

Permalink
Looping container image signing
Browse files Browse the repository at this point in the history
  • Loading branch information
blockmar committed Dec 19, 2024
1 parent 13447b7 commit cdbf22a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ jobs:
KO_DEFAULTBASEIMAGE: cgr.dev/chainguard/busybox
KO_DEFAULTPLATFORMS: linux/arm64,linux/amd64
- run: |
echo "signing $(cat allstar.ref)"
cosign sign --yes -a git_sha="$GITHUB_SHA" "$(cat allstar.ref)"
echo "signing $(cat allstar-busybox.ref)"
cosign sign --yes -a git_sha="$GITHUB_SHA" "$(cat allstar-busybox.ref)"
while read ref; do
echo "signing $ref"
cosign sign --yes -a git_sha="$GITHUB_SHA" "$ref"
done < allstar.ref
while read ref; do
echo "signing $ref"
cosign sign --yes -a git_sha="$GITHUB_SHA" "$ref"
done < allstar-busybox.ref
- run: |
gh release create ${{ github.ref_name }} --notes "Images:
Expand Down

0 comments on commit cdbf22a

Please sign in to comment.