diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6548800e32da4d05b2ef40fc4b0abf501db8673c..5852bf4c9d910f1d77929613b554ce6c3aa022e4 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