blob: 2a22fef8010e1923c3a7b9af04946b4af964acdd [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 [ -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}-STAGING-${TIMESTAMP}"
export LATEST="${PORTAL_VERSION}-STAGING-latest"
exec ./os_docker_base.sh