use ubuntu 20.04

This commit is contained in:
yrzr 2020-07-23 12:40:36 +08:00
parent a560cecf1c
commit 59996a5632

View File

@ -50,8 +50,8 @@ build:
- echo "RELEASE_PACKAGE=gitlab-ce" >> RELEASE - echo "RELEASE_PACKAGE=gitlab-ce" >> RELEASE
- echo "RELEASE_VERSION=${RELEASE_VERSION}" >> RELEASE - echo "RELEASE_VERSION=${RELEASE_VERSION}" >> RELEASE
- echo "DOWNLOAD_URL=https://${PKG_SERVER_URL}/gitlab-ce_${CI_COMMIT_TAG}-ce.0_arm64.deb" >> RELEASE - echo "DOWNLOAD_URL=https://${PKG_SERVER_URL}/gitlab-ce_${CI_COMMIT_TAG}-ce.0_arm64.deb" >> RELEASE
# missing package libatomic1 after version 13 # use ubuntu 20.04 instead of 16.04
- sed -i 's/less/less libatomic1/' ./Dockerfile - sed -i 's/16.04/20.04/' ./Dockerfile
- docker build -q -t ${DOCKER_NS}/${BASENAME}:${CI_COMMIT_TAG}-ce.0 -f ./Dockerfile ./ - docker build -q -t ${DOCKER_NS}/${BASENAME}:${CI_COMMIT_TAG}-ce.0 -f ./Dockerfile ./
# latest tag # latest tag
- cd ../../ && git fetch --tags && LATEST=$(git tag | sort -rV | head -n 1) - cd ../../ && git fetch --tags && LATEST=$(git tag | sort -rV | head -n 1)