diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 560b3776bbac9ccf269642195725936c80e14ac0..927f38c6f67d0bfd9b193f36684c523f50d98150 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/main + # This is an automatic push of the docker image into gitLab container repository