Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
ci(docker): let the stale-digest guard skip an optional image that produced no digests (#17223)
Diego Rodrigues de Sa e Souzaedab7c3a59bf
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymlindex 9e11e1ba51..253117739b 100644--- a/.github/workflows/docker-publish.yml+++ b/.github/workflows/docker-publish.yml@@ -493,7 +493,15 @@ jobs:run: |set -euo pipefail# One digest per arch (amd64 + arm64) at most; more means stale digests leaked in (#15184).+ # An optional image (bun-web is best-effort) may have produced no digest at all: its+ # download step then creates no directory, and `find <missing>` under pipefail used to+ # abort this step with exit 1 and no message, taking every mandatory manifest down with+ # it (v3.8.52 release run 39316002758). The manifest step already skips such images.for dir in base web bun-base bun-web; do+ if [ ! -d "/tmp/digests/$dir" ]; then+ echo "digests in $dir: none (optional image produced no digest — skipped)"+ continue+ ficount=$(find "/tmp/digests/$dir" -type f 2>/dev/null | wc -l)if [ "$count" -gt 2 ]; thenecho "digests in $dir: found $count, expected at most 2 (stale digests leaked in)" >&2diff --git a/changelog.d/maintenance/17223-docker-stale-digest-guard-optional.md b/changelog.d/maintenance/17223-docker-stale-digest-guard-optional.mdnew file mode 100644index 0000000000..5291e751fd--- /dev/null+++ b/changelog.d/maintenance/17223-docker-stale-digest-guard-optional.md@@ -0,0 +1 @@+- **ci(docker):** the multi-arch manifest job no longer dies when the best-effort `bun-web` image produces no digest — the stale-digest guard reports and skips a missing `/tmp/digests/<image>` directory instead of aborting under `pipefail`, so `omniroute:<version>` / `latest` manifests publish even when the optional Bun web image fails (v3.8.52 release run 39316002758) ([#17223](https://github.com/diegosouzapw/OmniRoute/pull/17223))