diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de7e1bb..f7ec2e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,8 +19,8 @@ stages: - export PATCHLEVEL=$(echo ${CI_COMMIT_TAG} | cut -d'+' -f2) - apt-get -qq update - apt-get -qqy install ruby-dev ruby-ffi curl file - - gem install fpm - mkdir -p "${CI_PROJECT_DIR}/package_root/usr/bin" + - echo "https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-${ARCH}" - curl -sL -o "${CI_PROJECT_DIR}/package_root/usr/bin/gitea" "https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-${ARCH}" @@ -30,6 +30,7 @@ stages: "${CI_PROJECT_DIR}/package_root/usr/bin/gitea" | grep -q 'application/x-executable' - chmod +x "${CI_PROJECT_DIR}/package_root/usr/bin/gitea" + - gem install fpm - fpm --architecture "${ARCH}" --input-type dir