Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: add retry logic to Docker signature verification

LearningCircuit91c4c03e166c
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 38479f71cf..21137fb649 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -267,6 +267,10 @@ jobs:
echo "Signing image by digest: $IMAGE_REF"
cosign sign --yes "$IMAGE_REF"
+ # Brief sleep to allow registry to propagate signature
+ echo "Waiting for signature propagation..."
+ sleep 5
+
- name: Generate SLSA provenance attestation
env:
DIGEST: ${{ steps.manifest.outputs.digest }}
@@ -324,10 +328,26 @@ jobs:
set -euo pipefail
IMAGE_REF="${DOCKER_USERNAME}/local-deep-research@${DIGEST}"
echo "Verifying signature for: $IMAGE_REF"
- cosign verify \
- --certificate-identity-regexp="https://github.com/${{ github.repository }}" \
- --certificate-oidc-issuer=https://token.actions.githubusercontent.com \
- "$IMAGE_REF"
+
+ # Retry logic to handle registry propagation delay after signing
+ MAX_RETRIES=5
+ RETRY_DELAY=10
+ for i in $(seq 1 "$MAX_RETRIES"); do
+ echo "Verification attempt $i of $MAX_RETRIES..."
+ if cosign verify \
+ --certificate-identity-regexp="https://github.com/${{ github.repository }}" \
+ --certificate-oidc-issuer=https://token.actions.githubusercontent.com \
+ "$IMAGE_REF"; then
+ echo "Signature verification successful!"
+ exit 0
+ fi
+ if [ "$i" -lt "$MAX_RETRIES" ]; then
+ echo "Verification failed, waiting ${RETRY_DELAY}s before retry..."
+ sleep "$RETRY_DELAY"
+ fi
+ done
+ echo "Signature verification failed after $MAX_RETRIES attempts"
+ exit 1
- name: Attach SBOM to image
env: