timetracker/.drone.yml

23 lines
334 B
YAML

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