Yanis Rigaudeau
2498b8e18a
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
582 B
YAML
31 lines
582 B
YAML
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
|