mirror of
https://git.yrzr.tk/docker/gitlab-ce-arm64.git
synced 2024-11-22 12:38:11 +08:00
fix git clone
This commit is contained in:
parent
62bbf8b066
commit
d50e88cb11
@ -37,7 +37,7 @@ build:
|
|||||||
- apk add --no-cache --upgrade bash coreutils
|
- apk add --no-cache --upgrade bash coreutils
|
||||||
# fetch dockerfile
|
# fetch dockerfile
|
||||||
- ./set-branch-name.sh && export BRANCH_NAME=$(cat branch_name) && echo ${BRANCH_NAME}
|
- ./set-branch-name.sh && export BRANCH_NAME=$(cat branch_name) && echo ${BRANCH_NAME}
|
||||||
- git clone -b ${BRANCH_NAME}
|
- 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
|
||||||
- echo "PACKAGECLOUD_REPO=gitlab-ce" > RELEASE && echo "RELEASE_PACKAGE=gitlab-ce" >> RELEASE && echo "RELEASE_VERSION=${CI_COMMIT_TAG}" >> RELEASE && echo "DOWNLOAD_URL=https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_${CI_COMMIT_TAG}_arm64.deb/download.deb" >> RELEASE
|
- echo "PACKAGECLOUD_REPO=gitlab-ce" > RELEASE && echo "RELEASE_PACKAGE=gitlab-ce" >> RELEASE && echo "RELEASE_VERSION=${CI_COMMIT_TAG}" >> RELEASE && echo "DOWNLOAD_URL=https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_${CI_COMMIT_TAG}_arm64.deb/download.deb" >> RELEASE
|
||||||
|
Loading…
Reference in New Issue
Block a user