Add CI
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
parent
91743d1c6d
commit
5cf265f09c
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build and publish
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: registry.kucharczyk.tech/python-pypi
|
||||
commands:
|
||||
- python -m build
|
||||
- name: publish
|
||||
image: registry.kucharczyk.tech/python-pypi
|
||||
commands:
|
||||
- python -m twine upload -u $USERNAME -p $PASSWORD dist/*
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: pypi_username
|
||||
PASSWORD:
|
||||
from_secret: pypi_password
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in New Issue