mirror of
https://git.yrzr.tk/docker/gitlab-ce-arm64.git
synced 2024-11-25 01: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
|
||||
# fetch dockerfile
|
||||
- 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
|
||||
- cd ./omnibus-gitlab/docker
|
||||
# write RELEASE
|
||||
|
Loading…
Reference in New Issue
Block a user