Merge "Fix NPE when getting Consul configuration"
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1d94ac..c35353b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,14 +18,18 @@
       - hv-collector-dcae-app-simulator/target/reports
       - hv-collector-xnf-simulator/target/reports
 
-
 publish:
   stage: publish
   only:
     - master
   script:
     - docker login $DOCKER_REPO_ADDR -u $DOCKER_REPO_USER -p $DOCKER_REPO_PASS
-    - mvn -e -DskipTests -DskipAnalysis -Ddocker-image.registry="$DOCKER_REPO_ADDR" deploy
+    - |
+        mvn -e -DskipTests -DskipAnalysis \
+           -Ddocker-image.registry="$DOCKER_REPO_ADDR" \
+           -Ddocker.http_proxy="http://$PROXY_HOST:$PROXY_PORT" \
+           -Ddocker.https_proxy="http://$PROXY_HOST:$PROXY_PORT" \
+           deploy
     - "curl -X POST -F token=$INTEGRATION_TESTS_TRIGGER_TOKEN -F ref=master https://gitlabe1.ext.net.nokia.com/api/v4/projects/33403/trigger/pipeline"
 
 pages: