Docker fixes
[portal.git] / deliveries / os_docker_base.sh
index 3f11000..2c4a391 100755 (executable)
@@ -18,12 +18,12 @@ fi
 # this into os_docker_push, os_docker_release scripts
 NEXUS_REPO=nexus3.onap.org:10003
 
-# Establish environment variables
-source $(dirname $0)/.env
-
 # Build the containers
 ./build_portalapps_dockers.sh
 
+# Establish environment variables
+source $(dirname $0)/.env
+
 APPS_VERSION="${NEXUS_REPO}/${EP_IMG_NAME}:${VERSION}"
 DB_VERSION="${NEXUS_REPO}/${DB_IMG_NAME}:${VERSION}"
 WMS_VERSION="${NEXUS_REPO}/${WMS_IMG_NAME}:${VERSION}"