From 89d700d3e161a02549e6eaabf5e11523fc7931f1 Mon Sep 17 00:00:00 2001 From: ludamad Date: Mon, 25 Sep 2023 10:06:28 +0100 Subject: [PATCH] fix(build-system): don't wait 30s+ always (#2494) --- build-system/scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-system/scripts/build b/build-system/scripts/build index 8ebe342f064..0898f25a953 100755 --- a/build-system/scripts/build +++ b/build-system/scripts/build @@ -142,7 +142,7 @@ for STAGE in $STAGES; do if [ -n "$CONTENT_HASH" ]; then echo "Pulling stage: $STAGE" STAGE_IMAGE_LAST_URI=$ECR_URL/$REPOSITORY:cache-$CONTENT_HASH-$STAGE - if fetch_image $STAGE_IMAGE_LAST_URI; then + if try_fetch_image $STAGE_IMAGE_LAST_URI; then STAGE_CACHE_FROM="--cache-from $STAGE_IMAGE_LAST_URI" fi fi