From 09cdbdc22eb41c49476c21a4d5381091689d4c09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20Heidb=C3=BCchel?= <j.heidbuechel@fz-juelich.de>
Date: Mon, 8 Jun 2020 16:08:29 +0200
Subject: [PATCH] Update .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c708a1c..0b914a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,7 +9,7 @@ Build alpine image:
   stage: build
   script:
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-    - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.alpine --destination $CI_REGISTRY_IMAGE:alpine --destination $CI_REGISTRY_IMAGE:latest
+    - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.alpine --destination $CI_REGISTRY_IMAGE:alpine
   only:
     - master
 
@@ -17,6 +17,6 @@ Build ubuntu image:
   stage: build
   script:
     - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-    - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.ubuntu --destination $CI_REGISTRY_IMAGE:ubuntu
+    - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.ubuntu --destination $CI_REGISTRY_IMAGE:ubuntu --destination $CI_REGISTRY_IMAGE:latest
   only:
     - master
-- 
GitLab