24 lines
447 B
YAML
24 lines
447 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: lint
|
|
image: python:3.10-slim
|
|
commands:
|
|
- pip install poetry
|
|
- 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
|