dj-embe/.drone.yml
Yanis Rigaudeau 4da17a1387
Some checks failed
continuous-integration/drone/push Build is failing
add cache build
2023-09-21 01:12:01 +02:00

32 lines
586 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: check
image: docker:24.0.6-cli
privileged: true
volumes:
- name: docker-socket
path: /var/run/docker.sock
commands:
- docker build --target check .
- 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