A Python port of the Invisible Internet Project (I2P)
1stages:
2 - publish
3
4publish:
5 stage: publish
6 image: python:3.11-slim
7 tags: [linux]
8 before_script:
9 - pip config set global.extra-index-url https://pypi.org/simple
10 script:
11 - pip install build twine
12 - python -m build
13 - twine upload
14 --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
15 -u gitlab-ci-token -p ${CI_JOB_TOKEN} dist/*
16 rules:
17 - if: $CI_COMMIT_TAG