diff --git a/.gitea/workflows/cd.yml b/.gitea/workflows/cd.yml index 6707d83..51b9583 100644 --- a/.gitea/workflows/cd.yml +++ b/.gitea/workflows/cd.yml @@ -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