change build.sh to get SNAPSHOT_TAG from .env
This commit is contained in:
2
build.sh
2
build.sh
@@ -35,7 +35,7 @@ source "${SCRIPT_DIR}/.env"
|
|||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
#default: snapshot
|
#default: snapshot
|
||||||
VERSION="${IMAGE_TAG}-SNAPSHOT$(git rev-parse --short HEAD 2>/dev/null || echo "local")"
|
VERSION="${IMAGE_TAG}-${SNAPSHOT_TAG}"
|
||||||
|
|
||||||
PUSH=false
|
PUSH=false
|
||||||
ONLY=()
|
ONLY=()
|
||||||
|
|||||||
Reference in New Issue
Block a user