2021-06-24 19:25:44 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build and publish
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: python
|
|
|
|
commands:
|
|
|
|
- python -m build
|
|
|
|
- name: publish
|
|
|
|
image: plugins/pypi
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: pypi_username
|
|
|
|
password:
|
|
|
|
from_secret: pypi_password
|
2021-06-24 19:43:57 +00:00
|
|
|
|
2021-06-24 19:25:44 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
2021-06-24 19:43:57 +00:00
|
|
|
- tag
|