From 9c99e00f59860d6adf85d7480cd49ed88502f180 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Tue, 11 May 2021 12:59:33 +0200
Subject: [PATCH] adder-Task10079: fixes

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 35d12ace1ba..2c14d95d5dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -432,8 +432,8 @@ deploy-QA_cep:
     - ssh-keyscan head.cep4.control.lofar >> ~/.ssh/known_hosts
     - chmod 644 ~/.ssh/known_hosts
   script:
-    - ssh lofarsys@head.cep4.control.lofar "clush -P -w cpu[01-50] -w gpu[01-04] -w head[01-02] docker pull nexus.cep4.online.lofar:18080/lofar_qa:$CI_COMMIT_SHORT_SHA"
-    - ssh lofarsys@head.cep4.control.lofar "clush -P -w cpu[01-50] -w gpu[01-04] -w head[01-02] docker tag nexus.cep4.online.lofar:18080/lofar_qa:$CI_COMMIT_SHORT_SHA lofar_qa:latest"
+    - ssh lofarsys@head.cep4.control.lofar "clush -P -w cpu[01-50] -w gpu[01-04] -w head[01-02] docker pull $CI_NEXUS_REGISTRY_LOCATION/lofar_qa:$CI_COMMIT_SHORT_SHA"
+    - ssh lofarsys@head.cep4.control.lofar "clush -P -w cpu[01-50] -w gpu[01-04] -w head[01-02] docker tag $CI_NEXUS_REGISTRY_LOCATION/lofar_qa:$CI_COMMIT_SHORT_SHA lofar_qa:latest"
     - ssh lofarsys@head.cep4.control.lofar "clush -P -w cpu[01-50] -w gpu[01-04] -w head[01-02] docker tag lofar_qa:latest adder:latest"
   needs:
     - dockerize_QA
-- 
GitLab