blob: 39035199d1ec216b83fa46df8242f15efe7f8147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# Builds and pushes SNAPSHOT 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}-${TIMESTAMP}"
export LATEST="latest"
exec ./os_docker_base.sh
|