timetracker/.drone.yml

24 lines
371 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: test
image: python:3.10
commands:
- "python -m pip install poetry"
- "poetry install"
- "pytest"
- name: build container
image: plugins/docker
settings:
repo: registry.kucharczyk.xyz/timetracker
tags:
- latest
trigger:
event:
- push
- cron
exclude:
- pull_request