From 051e96651ed2fcdea8bf912e7a011f3353964186 Mon Sep 17 00:00:00 2001 From: Jedrzej Rybicki <j.rybicki@fz-juelich.de> Date: Fri, 21 Jan 2022 08:24:41 +0100 Subject: [PATCH] push tags to master --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6548800..5852bf4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -246,9 +246,9 @@ publishgit-do: - apt-get install -y git - (git remote -v | grep gith) || git remote add gith "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/eflows4hpc/datacatalog.git" - git remote -v - - git show-ref - - export - - git push gith $CI_COMMIT_REF_NAME + - git fetch --unshallow origin + - git push gith +HEAD:refs/heads/master + # This is an automatic push of the docker image into gitLab container repository -- GitLab