fix(cd): attestation not-ready regex — cosign 3.x says no matching attestations: (no found) #87

Merged
admin merged 1 commits from fix/cd-gate-attestation-not-ready-regex into main 2026-09-22 04:02:13 +00:00
+1 -1
View File
@@ -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