Skip to content

Commit

Permalink
Add required identity flags for Cosign (#268)
Browse files Browse the repository at this point in the history
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
  • Loading branch information
haydentherapper committed Mar 6, 2023
1 parent 9538fd4 commit 57d8ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/ko-sign-release-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ fi
echo "Signing images with Keyless..."
readarray -t server_images < <(cat timestampServerImagerefs || true)
cosign sign --yes -a GIT_HASH="${GIT_HASH}" -a GIT_VERSION="${GIT_VERSION}" "${server_images[@]}"
cosign verify "${server_images[@]}"
cosign verify --certificate-identity-regexp ".*" --certificate-oidc-issuer-regexp ".*" "${server_images[@]}"

readarray -t cli_images < <(cat timestampCLIImagerefs || true)
cosign sign --yes -a GIT_HASH="${GIT_HASH}" -a GIT_VERSION="${GIT_VERSION}" "${cli_images[@]}"
cosign verify "${cli_images[@]}"
cosign verify --certificate-identity-regexp ".*" --certificate-oidc-issuer-regexp ".*" "${cli_images[@]}"

0 comments on commit 57d8ad5

Please sign in to comment.