Skip to content

Commit 9f8881d

Browse files
lroolleclaude
andcommitted
fix: verify job uses REGISTRY/IMAGE_NAME env like the rest of the workflow
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 6c16937 commit 9f8881d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/nightly-images.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,17 +222,18 @@ jobs:
222222
- name: Assert all nightly tags resolve
223223
run: |
224224
set -euo pipefail
225+
image="${REGISTRY}/${IMAGE_NAME}"
225226
stamp="${{ needs.resolve-versions.outputs.stamp }}"
226227
for tag in nightly "nightly-${stamp}" nightly-rust "nightly-${stamp}-rust"; do
227228
for attempt in 1 2 3; do
228-
if docker manifest inspect "ghcr.io/thevibeworks/deva:${tag}" >/dev/null; then
229+
if docker manifest inspect "${image}:${tag}" >/dev/null; then
229230
echo "ok: ${tag}"
230231
continue 2
231232
fi
232233
echo "attempt ${attempt} failed for ${tag}; retrying in 10s" >&2
233234
sleep 10
234235
done
235-
echo "error: ghcr.io/thevibeworks/deva:${tag} does not resolve after push" >&2
236+
echo "error: ${image}:${tag} does not resolve after push" >&2
236237
exit 1
237238
done
238239

0 commit comments

Comments
 (0)