Update .gitlab-ci.yml

This commit is contained in:
Christopher 2023-05-30 10:45:14 +08:00
parent d6742b1502
commit 9ad5dcf5b8

View File

@ -41,8 +41,6 @@ build:
- 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
# ubuntu:focal as base image
- sed -i 's/^FROM ubuntu.*/FROM ubuntu\:focal/' Dockerfile
# missing package libatomic1 after version 13
- sed -i 's/\-recommends/\-recommends libatomic1/' Dockerfile
# debian has /etc/os-release instead of /etc/lsb-release