diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cc380560bf04effcb83b01834bd1626b4279261..42b6402c5d13b0a2473512aad86f112144b33349 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,13 +8,14 @@ stages: before_script: - python -V - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate - - pip install build twine + - python -m venv venv + - . venv/bin/activate + - pip install build twine pytest build: stage: build + tags: + - vips-runner script: - python -m build artifacts: @@ -24,5 +25,7 @@ build: deploy: stage: deploy + tags: + - vips-runner script: - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository gitlab dist/* --verbose