Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Sep 13, 2023
1 parent 4100d7b commit 09ec5ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-system/scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 09ec5ab

Please sign in to comment.