fix(cd): attestation not-ready regex — cosign 3.x says no matching attestations: (no found) #87
@@ -168,7 +168,7 @@ jobs:
|
||||
if cosign verify-attestation --key cosign.pub --type "$PREDICATE_TYPE" "${IMAGE_REPO}@${digest}" >/tmp/verify.log 2>&1; then
|
||||
break
|
||||
fi
|
||||
if grep -qE "no matching (attestations|signatures) found" /tmp/verify.log; then
|
||||
if grep -qE "no matching (attestations|signatures)( found)?" /tmp/verify.log; then
|
||||
echo "image present but attestation not attached yet (attempt $attempt/$max_attempts) — waiting for release.yml's cosign attest..."
|
||||
sleep 15
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user