From dc8e390dbae0aba2d9a8168771f7c21c8677fc03 Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Sun, 15 Nov 2026 22:39:15 -0300 Subject: [PATCH] fix(ci): pull the probe image before the smoke test in the release Co-Authored-By: Claude Opus 5.5 --- scripts/smoke-probe.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/smoke-probe.sh b/scripts/smoke-probe.sh index b4d9484..c20200a 100755 --- a/scripts/smoke-probe.sh +++ b/scripts/smoke-probe.sh @@ -11,6 +11,8 @@ image=${1:?usage: smoke-probe.sh } max_bytes=$((15 * 1000 * 1000)) fail() { echo "smoke-probe: $*" >&2; exit 1; } +# In the release the image was pushed by buildx, not loaded: pull it first. +docker image inspect "$image" >/dev/null 2>&1 || docker pull -q "$image" >/dev/null size=$(docker image inspect -f '{{.Size}}' "$image") [ "$size" -lt "$max_bytes" ] || fail "image is $size bytes (limit $max_bytes)"