From 09ec5ab4d24fb475a6a4e906881a1773b284db91 Mon Sep 17 00:00:00 2001 From: PhilWindle Date: Wed, 13 Sep 2023 15:57:50 +0000 Subject: [PATCH] WIP --- build-system/scripts/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-system/scripts/build b/build-system/scripts/build index c7066ae85dd..f7327aefae7 100755 --- a/build-system/scripts/build +++ b/build-system/scripts/build @@ -176,8 +176,8 @@ for STAGE in $STAGES; do # We don't want to have redo this stages work when building the final image. Use it as a layer cache. CACHE_FROM="--cache-from $STAGE_IMAGE_COMMIT_URI $CACHE_FROM" - echo "Pushing stage: $STAGE" - retry docker push $STAGE_IMAGE_COMMIT_URI > /dev/null 2>&1 + #echo "Pushing stage: $STAGE" + #retry docker push $STAGE_IMAGE_COMMIT_URI > /dev/null 2>&1 echo done @@ -196,6 +196,6 @@ echo "Building image: $IMAGE_COMMIT_URI" # Build our dockerfile, add timing information docker buildx build --platform $PLATFORMS -t $IMAGE_COMMIT_URI -f $DOCKERFILE $CACHE_FROM --build-arg COMMIT_TAG=$COMMIT_TAG_VERSION --build-arg ARG_CONTENT_HASH=$CONTENT_HASH --push . \ | while read line ; do echo "$(date "+%H:%M:%S")| $line"; done -echo "Pushing image: $IMAGE_COMMIT_URI" -retry docker push $IMAGE_COMMIT_URI > /dev/null 2>&1 +#echo "Pushing image: $IMAGE_COMMIT_URI" +#retry docker push $IMAGE_COMMIT_URI > /dev/null 2>&1 untag_remote_image $REPOSITORY tainted