From 62bbf8b0667e57a2524ed908d941f31ab9e0677b Mon Sep 17 00:00:00 2001 From: yrzr Date: Thu, 10 Dec 2020 11:45:19 +0800 Subject: [PATCH] udpate server url --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e88a966..d3cab86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ check: - git config --global user.email $GIT_USER_EMAIL && git config --global user.name $GIT_USER_NAME - mkdir -p ~/.ssh && echo "$GITLAB_SSH_PRIV_KEY" > ~/.ssh/id_rsa && ssh-keyscan -H ${CI_SERVER_HOST} > ~/.ssh/known_hosts && chmod -R 0600 ~/.ssh/ - git fetch --tags && ./check-version.sh && ./create-tags.sh - - git push --tags ${GITLAB_USER_LOGIN}:${PERSONAL_ACCESS_TOKEN}@${CI_REPOSITORY_URL} + - git push --tags https://${GITLAB_USER_LOGIN}:${PERSONAL_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git build: image: arm64v8/docker:stable-git