2 # Builds and pushes SNAPSHOT versions of Portal images
7 # Establish environment variables
8 source $(dirname $0)/.env
10 if [ -z "$PORTAL_VERSION" ]; then
11 echo "PORTAL_VERSION not set"
15 TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
16 # commenting the following two configurations as lf team preferred the uncommented format below
17 #export VERSION="${PORTAL_VERSION}-${TIMESTAMP}"
18 #export LATEST="latest"
20 export VERSION="${PORTAL_VERSION}-STAGING-${TIMESTAMP}"
21 export LATEST="${PORTAL_VERSION}-STAGING-latest"
23 exec ./os_docker_base.sh