[AMD] Update SGLang image fallback logic for AMD CI (#8980)

This commit is contained in:
michael-amd
2025-08-08 18:51:29 -07:00
committed by GitHub
parent a60f88b5a4
commit 23f2afb2ce

View File

@@ -135,8 +135,7 @@ else
fi
# Find and pull the latest image
IMAGE=$(find_latest_image "${GPU_ARCH}")
if [ $? -eq 0 ]; then
if IMAGE=$(find_latest_image "${GPU_ARCH}"); then
echo "Pulling Docker image: $IMAGE"
else
echo "$FALLBACK_MSG" >&2