Divent/.drone.yml
Michel Roux d89ef58515
All checks were successful
continuous-integration/drone/push Build is passing
Use a new image for poetry on drone
2022-09-09 21:17:29 +00:00

33 lines
628 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: lint
image: fnndsc/python-poetry
commands:
- poetry install
- poetry run flake8 .
- poetry run mypy .
- poetry run djlint .
- name: docker
image: plugins/docker
settings:
repo: xefir/divent
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: publish
image: fnndsc/python-poetry
commands:
- poetry publish --build
environment:
POETRY_PYPI_TOKEN_PYPI:
from_secret: pypi_token
when:
event: tag