From ca0d50510403ecacc76299d878b8e52354fb437a Mon Sep 17 00:00:00 2001
From: Jonas Braathen <jbr@uio.no>
Date: Mon, 21 Aug 2023 16:36:06 +0200
Subject: [PATCH] Add --pull=always and remove --no-cache from image build
 options for frontend as well

---
 frontend/update-harbor-image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/update-harbor-image.sh b/frontend/update-harbor-image.sh
index c45ebc1c..69f5a66d 100755
--- a/frontend/update-harbor-image.sh
+++ b/frontend/update-harbor-image.sh
@@ -25,7 +25,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