blob: 1fb8a9a564d9898c6639658c8dd0ba573b84589d [file] [log] [blame]
#!/bin/bash
# Builds and pushes STAGING versions of Portal images
# be verbose
set -x
# Establish environment variables
source $(dirname $0)/.env
if [ $1 ]; then
source $(dirname $0)/$1
fi
if [ -z "$PORTAL_VERSION" ]; then
echo "PORTAL_VERSION not set"
exit 1
fi
TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
export VERSION="${PORTAL_VERSION}-${TIMESTAMP}"
export LATEST="${PORTAL_VERSION}"
./os_docker_base.sh $1