diff --git a/base-images/build.sh b/base-images/build.sh index 861031731..f93ef1ed7 100755 --- a/base-images/build.sh +++ b/base-images/build.sh @@ -2,7 +2,7 @@ ROOT_DIR=`dirname $0` -GIT_TAG_VERSION=$(git describe --tags --abbrev=0) +GIT_TAG_VERSION=${$(git describe --tags --abbrev=0)//v/} # remove v from version ENVD_VERSION="${ENVD_VERSION:-$GIT_TAG_VERSION}" DOCKER_HUB_ORG="${DOCKER_HUB_ORG:-tensorchord}" PYTHON_VERSION="${PYTHON_VERSION:-3.9}"