lemmy/.drone.yml

19 lines
447 B
YAML
Raw Normal View History

2020-12-08 20:13:53 +00:00
kind: pipeline
name: default
steps:
- name: test
2020-12-09 14:00:31 +00:00
image: docker/compose:alpine-1.27.4
2020-12-09 13:56:45 +00:00
volumes:
- name: docker_sock
path: /var/run/docker.sock
2020-12-08 20:13:53 +00:00
commands:
2020-12-08 20:25:24 +00:00
- docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
- docker-compose up -f docker/travis/docker-compose.yml -d
- sleep 10
- docker-compose down
2020-12-08 20:13:53 +00:00
2020-12-09 13:56:45 +00:00
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock