From dcb6cb44b9b1f1c7def0b14d63f71b85e1029d41 Mon Sep 17 00:00:00 2001
From: Chandrasekhar Ramakrishnan <cramakri@ethz.ch>
Date: Wed, 25 Mar 2020 15:04:48 +0000
Subject: [PATCH] chore: use a distinct tag for the cron image build

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 88509d98..3aaeed90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,15 +34,15 @@ update_build:
   before_script:
     - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY
   script:
-    - docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA .
-    - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
+    - docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update .
+    - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update
   tags:
     - image-build
 
 update:
   stage: periodic
   image:
-    name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
+    name: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA-update
     entrypoint: [""]
 
   only:
-- 
GitLab