From 684c1f0671016133c524bfa60425669c0155a614 Mon Sep 17 00:00:00 2001 From: Christopher Date: Tue, 20 Jun 2023 16:14:07 +0800 Subject: [PATCH] .gitlab-ci.yml: use mirror from github --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39c927f..055e96e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,8 @@ build: - apk add --no-cache --upgrade bash coreutils # fetch dockerfile - BRANCH_NAME=$(echo ${CI_COMMIT_TAG} | sed 's/\-/\+/') && echo ${BRANCH_NAME} - - git clone -b ${BRANCH_NAME} --depth=1 https://gitlab.com/gitlab-org/omnibus-gitlab.git + # mirror of https://gitlab.com/gitlab-org/omnibus-gitlab.git + - git clone -b ${BRANCH_NAME} --depth=1 https://github.com/gitlabhq/omnibus-gitlab.git - cd ./omnibus-gitlab/docker # 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