diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f005a67d71a93345792cc9e484aae0d77ed0cfa4..6fd4b9474dbcc3bb4b6db2a92d6151ae9aec9030 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,8 +36,8 @@ build:
     - ssh-keyscan $GIT_MIRROR_HOST 2>&1 | grep -vE '^#' > ~/.ssh/known_hosts
     - chmod 644 ~/.ssh/known_hosts
     - git remote add mirrorTarget $GIT_MIRROR_TARGET
-    - git push mirrorTarget --all
-    - git push mirrorTarget --tags
+    - git push -u mirrorTarget --all
+    - git push -u mirrorTarget --tags
 
 mirror-framagit:
   <<: *mirror