From 273eb5b3c61135e84c50d189eeab21c50767759d Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Mon, 11 Nov 2019 15:39:46 +0100
Subject: [PATCH] tag fix

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2656da1..8e37e33 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,7 +32,7 @@ build-release: #This will be executed if you push on master, it makes a new rele
     - git config --global user.name "build"
     - git config --global user.email "noreply@jonasled.de"
     - git tag -a $version -m "$version" #add a tag with the current version
-    - git push --tags -o ci.skip #Push the tag to the repo ci.skip means don't build the image again.
+    - git push --tags -o ci.skip ssh://git@gitlab.jonasled.de:2222/jonasled/url_shorter_docker #Push the tag to the repo ci.skip means don't build the image again. I've configured an ssh key for the runner user,so it can push via ssh.
     - sudo docker image prune -f #Delete old unused images
     - sudo docker pull python:3
     - sudo docker build -t gitlab.jonasled.de/jonasled/url_shorter_docker . #Build the image with the name already set to push
-- 
GitLab