From 49c059d1e8f96f76915abdf37f83ac102ae1e7d9 Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 17 Dec 2021 01:07:07 +0200 Subject: [PATCH] template --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index ac07c16..cf516f7 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -583,7 +583,9 @@ build_and_push_image () echo "$ docker build -t \"$IMAGE_NAME\" ." printf "\\n" #docker build -t "$REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME" . + cd $Wdir docker build --force-rm --pull -t "$IMAGE_NAME" . + cd $cwdir }