22 lines
329 B
YAML
22 lines
329 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:
|
|
username:
|
|
from_secret: pypi_username
|
|
password:
|
|
from_secret: pypi_password
|
|
trigger:
|
|
event:
|
|
- tag
|