diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a471c40..9b3957a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,7 +51,9 @@ build: - echo "DOWNLOAD_URL=https://${PKG_SERVER_URL}/gitlab-ce_${CI_COMMIT_TAG}_arm64.deb" >> RELEASE # use ubuntu 20.04 instead of 16.04 - sed -i 's/16.04/20.04/' ./Dockerfile - - docker build -q -t ${DOCKER_NS}/${BASENAME}:${CI_COMMIT_TAG} -f ./Dockerfile ./ + # gitlab-ce depends on libatomic1; however: Package libatomic1 is not installed + - sed -i 's/less/less libatomic1/' ./Dockerfile + - docker build -t ${DOCKER_NS}/${BASENAME}:${CI_COMMIT_TAG} -f ./Dockerfile ./ # latest tag - cd ../../ && git fetch --tags && LATEST=$(git tag | sort -rV | head -n 1) - if [ "${LATEST}" == "${CI_COMMIT_TAG}" ]; then docker tag ${DOCKER_NS}/${BASENAME}:${CI_COMMIT_TAG} ${DOCKER_NS}/${BASENAME}:latest; fi