diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ce9396..096118d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,13 +13,14 @@ build: stage: build image: harbor.dataknife.net/dockerhub/library/python:3.14-slim script: - - apt-get update && apt-get install -y --no-install-recommends make git - - make build + - apt-get update && apt-get install -y --no-install-recommends git build-essential + - pip install --upgrade pip build + - python -m build artifacts: paths: - dist/ - build/ - - *.egg-info/ + - "*.egg-info/" expire_in: 1 hour rules: - if: '$CI_COMMIT_BRANCH == "main"'