From da665562aab891b4623b388b64403909dd227f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 14 Apr 2018 02:23:55 +0200 Subject: [PATCH] Implement tfw.sh buildtfw TAG overriding --- hack/tfw.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/tfw.sh b/hack/tfw.sh index d1dd728..a6ca836 100755 --- a/hack/tfw.sh +++ b/hack/tfw.sh @@ -23,8 +23,8 @@ build_baseimage() { [ ! -d "$BASEIMAGE_PATH" ] && return || : cd $BASEIMAGE_PATH - docker build -t "${BASEIMAGE_NAME}:$(baseimage_releasename)" \ - -t "${BASEIMAGE_NAME}:latest" \ + docker build -t "${BASEIMAGE_NAME}:${TFWTAG:-$(baseimage_releasename)}" \ + -t "${BASEIMAGE_NAME}:latest" \ . }