Revise domain name and app context paths
[portal.git] / deliveries / os_docker_push.sh
old mode 100644 (file)
new mode 100755 (executable)
index a58f5aa..30bd3dc
@@ -1,7 +1,11 @@
 #!/bin/bash
+# Builds and pushes SNAPSHOT versions of Portal images
 
-#docker login
-docker tag ep:1610-1 portalapps:1.0.0
-docker tag ecompdb:portal portaldb:1.0.0
-docker push portalapps:1.0.0
-docker push portaldb:1.0.0
\ No newline at end of file
+# be verbose
+set -x
+
+TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
+export VERSION="1.3.0-SNAPSHOT-${TIMESTAMP}"
+export LATEST="latest"
+
+exec ./os_docker_base.sh