23 lines
354 B
YAML
23 lines
354 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build and publish
|
|
|
|
steps:
|
|
- name: build
|
|
image: python
|
|
commands:
|
|
- python -m pip install build
|
|
- python -m build
|
|
- name: publish
|
|
image: plugins/pypi
|
|
settings:
|
|
setupfile: setup.cfg
|
|
username:
|
|
from_secret: pypi_username
|
|
password:
|
|
from_secret: pypi_password
|
|
trigger:
|
|
event:
|
|
- tag
|