From adef55ec06d489f6ce2cd768edbc5a6d774affdf Mon Sep 17 00:00:00 2001
From: Andreas Fehn <andreas.fehn@tu-dresden.de>
Date: Mon, 23 Jul 2018 10:53:20 +0000
Subject: [PATCH] Update .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7316c82..3f1c8e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,8 +19,8 @@ build:
     paths:
       - .gradle/wrapper
       - .gradle/caches
-  only:
-    - tags
+#  only:
+#    - tags
   tags:
     - dockered
 
@@ -36,6 +36,7 @@ publish:
     - export VERSION=${CI_COMMIT_TAG:-`git describe --tags --always`}
     - echo $VERSION
     - echo $CI_REPOSITORY_URL | sed -E 's/.*@([^\/]+?(\:\d+)?)\//git@\1:/'
+    - git remote set-url --push origin `echo $CI_REPOSITORY_URL | sed -E 's/.*@([^\/]+?(\:\d+)?)\//git@\1:/'`
   script:
     - git checkout ivy-repo || git checkout --orphan ivy-repo
     - git reset
-- 
GitLab