From af131415f9c8be0b5b3b2538120320ea198eebd8 Mon Sep 17 00:00:00 2001
From: Dinesh Dutt
Date: Thu, 12 Aug 2021 21:06:01 -0700
Subject: [PATCH] Fix bug in when latest tag is applied
---
build-docker.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build-docker.sh b/build-docker.sh
index d398edaa3c..0f03ec1d9c 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -22,7 +22,7 @@ if [ -z "$BASE_EXISTS" ]; then
fi
echo "Building image ddutt/suzieq:$BUILD_TAG"
if [ $# -eq 0 ]; then
- docker build --build-arg version=$VERSION -t ddutt/suzieq:$BUILD_TAG -t netenglabs/suzieq:$BUILD_TAG .
+ docker build --build-arg version=$VERSION -t ddutt/suzieq:$BUILD_TAG -t ddutt/suzieq:latest -t netenglabs/suzieq:$BUILD_TAG -t netenglabs/suzieq:latest .
else
- docker build --build-arg version=$VERSION -t ddutt/suzieq:$BUILD_TAG -ddutt/suzieq:latest -t netenglabs/suzieq:$BUILD_TAG -t netenglabs/suzieq:latest .
-fi
\ No newline at end of file
+ docker build --build-arg version=$VERSION -t ddutt/suzieq:$BUILD_TAG -t netenglabs/suzieq:$BUILD_TAG .
+fi