ljg.sh/.drone.yml

42 lines
683 B
YAML
Raw Normal View History

2023-10-15 00:08:26 +02:00
---
kind: pipeline
type: docker
name: default
steps:
2023-12-22 18:04:03 +01:00
- name: check code style
image: python:3.11-alpine
commands:
- pip install black isort
- black --check .
- isort --check .
2023-10-15 00:08:26 +02:00
- name: build only
image: plugins/docker
settings:
dry_run: yes
repo: git.luj0ga.de/luca/ljg.sh
when:
event:
exclude:
- tag
- name: build and publish
image: plugins/docker
settings:
auto_tag: yes
password:
from_secret: access_token
registry: git.luj0ga.de
repo: git.luj0ga.de/luca/ljg.sh
username: _
when:
event:
- tag
2023-12-21 23:11:36 +01:00
trigger:
event:
- push
- tag