From 424fc01790f4ddf0a2ea929a80ecdcaf83fb132d Mon Sep 17 00:00:00 2001
From: Julien Leduc <julien.leduc@cern.ch>
Date: Thu, 24 Nov 2016 10:38:28 +0100
Subject: [PATCH] Cannot use variables defined outside for bocker build part,
 the strategy is to then rename the image in the registry after it has been
 pushed. I am using the pipelineID to identify the image uniquely.

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a311ab4d1f..474b679cc1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,5 +54,5 @@ ctafrontend_docker:
   script:
     - ""
   variables:
-    TO: gitlab-registry.cern.ch/cta/cta-orchestration:${CI_PIPELINE_ID}git${CI_BUILD_REF:0:8}
+    TO: gitlab-registry.cern.ch/cta/cta-orchestration:${CI_PIPELINE_ID}
     DOCKER_FILE: continuousintegration/docker/ctafrontend/cc7/Dockerfile
-- 
GitLab