From 60e5ef50dbcad2422b9460b68ef81b931ebe471a Mon Sep 17 00:00:00 2001 From: Jonas Braathen <jbr@uio.no> Date: Mon, 21 Aug 2023 16:34:36 +0200 Subject: [PATCH] Add --pull=always and remove --no-cache from image build options --- update-harbor-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-harbor-image.sh b/update-harbor-image.sh index 16dc8edd..1108d7ec 100755 --- a/update-harbor-image.sh +++ b/update-harbor-image.sh @@ -28,7 +28,7 @@ fi echo "Will build using $BUILDER" echo "Building $IMAGE_TAG" -$BUILDER build --format docker --no-cache -t $IMAGE_TAG . +$BUILDER build --format docker --pull=always -t $IMAGE_TAG . echo "Pushing $IMAGE_TAG" $BUILDER push $IMAGE_TAG -- GitLab