Revert "Update oparent version"
[portal.git] / deliveries / os_docker_release.sh
1 #!/bin/bash
2 # Builds and pushes STAGING versions of Portal images
3
4 # be verbose
5 set -x
6
7 # Establish environment variables
8 source $(dirname $0)/.env
9
10 if [ -z "$PORTAL_VERSION" ]; then
11     echo "PORTAL_VERSION not set"
12     exit 1
13 fi
14
15 TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
16 export VERSION="${PORTAL_VERSION}-${TIMESTAMP}"
17 export LATEST="${PORTAL_VERSION}"
18
19 exec ./os_docker_base.sh