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