dj-embe/.drone.yml

31 lines
582 B
YAML
Raw Normal View History

2023-09-20 19:57:07 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: check
image: python:3.11.5-alpine
commands:
- apk add --no-cache poetry
- pip install --no-cache-dir poethepoet
- poetry install --sync
#- poe lint
- name: build
image: docker/compose:alpine-1.29.2
privileged: true
volumes:
- name: docker-socket
path: /var/run/docker.sock
commands:
- docker-compose build
- docker-compose up -d
when:
branch:
- main
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock