ci: add drone config
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
90831f16be
commit
1889e39b20
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:3.12-alpine
|
||||
commands:
|
||||
- pip install poetry
|
||||
- poetry build
|
||||
when:
|
||||
event:
|
||||
- pr
|
||||
- push
|
||||
|
||||
- name: build and publish
|
||||
image: python:3.12-alpine
|
||||
commands:
|
||||
- pip install poetry
|
||||
- poetry publish --build --repository git.luj0ga.de
|
||||
environment:
|
||||
POETRY_PYPI_TOKEN_git.luj0ga.de:
|
||||
from_secret: repo_token
|
||||
POETRY_REPOSITORIES_git.luj0ga.de_URL: https://git.luj0ga.de/api/packages/kontakt/pypi
|
||||
when:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in New Issue