diff --git a/hack/tfw_magic_start.sh b/hack/tfw_magic_start.sh index 06b59df..b52a33d 100755 --- a/hack/tfw_magic_start.sh +++ b/hack/tfw_magic_start.sh @@ -27,7 +27,9 @@ run_frontend() build_baseimage() { cd $BASEIMAGE_PATH - docker build -t $BASEIMAGE_NAME . + VERSION="$(cat VERSION | head -n 1)" + DATE="$(date +%Y%m%d)" + docker build -t "${BASEIMAGE_NAME}:${VERSION}-${DATE}" . } run_backend()