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 }