mirror of
https://git.yrzr.tk/docker/gitlab-ce-arm64.git
synced 2024-11-22 13:08:12 +08:00
.gitlab-ci.yml: try using a proxy with git clone
This commit is contained in:
parent
00ea0afeb2
commit
b81a6fc4a7
@ -37,6 +37,7 @@ build:
|
|||||||
- apk add --no-cache --upgrade bash coreutils
|
- apk add --no-cache --upgrade bash coreutils
|
||||||
# fetch dockerfile
|
# fetch dockerfile
|
||||||
- BRANCH_NAME=$(echo ${CI_COMMIT_TAG} | sed 's/\-/\+/') && echo ${BRANCH_NAME}
|
- BRANCH_NAME=$(echo ${CI_COMMIT_TAG} | sed 's/\-/\+/') && echo ${BRANCH_NAME}
|
||||||
|
- if [ ! -z "$httpProxy" ]; then git config --global http.proxy $httpProxy; fi
|
||||||
- git clone -b ${BRANCH_NAME} --depth=1 https://gitlab.com/gitlab-org/omnibus-gitlab.git
|
- git clone -b ${BRANCH_NAME} --depth=1 https://gitlab.com/gitlab-org/omnibus-gitlab.git
|
||||||
- cd ./omnibus-gitlab/docker
|
- cd ./omnibus-gitlab/docker
|
||||||
# write RELEASE
|
# write RELEASE
|
||||||
|
Loading…
Reference in New Issue
Block a user