blob: 3ff88b2dcb937c4d8c1d0cc3619e14db58a2ffa1 [file] [log] [blame]
talasilab10edf92017-02-22 11:02:09 -05001#!/bin/bash
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04002# Builds and pushes STAGING versions of Portal images
talasilab10edf92017-02-22 11:02:09 -05003
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04004# be verbose
5set -x
talasilab10edf92017-02-22 11:02:09 -05006
st782s21a87612018-01-30 17:29:36 -05007# Establish environment variables
8source $(dirname $0)/.env
9
10if [ -z "$PORTAL_VERSION" ]; then
11 echo "PORTAL_VERSION not set"
12 exit 1
13fi
14
talasila967a54a2017-03-10 12:18:42 -050015TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
Manoop Talasilaeb12d982018-05-07 17:37:19 -040016export VERSION="${PORTAL_VERSION}-${TIMESTAMP}"
17export LATEST="${PORTAL_VERSION}"
talasilab10edf92017-02-22 11:02:09 -050018
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -040019exec ./os_docker_base.sh