mirror of https://gitlab.com/KKlochko/tui-rsync
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
475 B
19 lines
475 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: publishing
|
|
image: python:3.10-alpine
|
|
environment:
|
|
PYPI_USERNAME:
|
|
from_secret: PYPI_USERNAME
|
|
PYPI_PASSWORD:
|
|
from_secret: PYPI_PASSWORD
|
|
commands:
|
|
- export POETRY_HOME=/opt/poetry
|
|
- python3 -m venv $POETRY_HOME
|
|
- $POETRY_HOME/bin/pip install poetry==1.3.2
|
|
- $POETRY_HOME/bin/poetry install
|
|
- $POETRY_HOME/bin/poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
|