lemmy/.drone.yml

21 lines
446 B
YAML
Raw Normal View History

2020-12-08 20:13:53 +00:00
kind: pipeline
name: default
2020-12-09 13:58:58 +00:00
#asd
2020-12-08 20:13:53 +00:00
steps:
- name: test
2020-12-09 13:56:45 +00:00
image: compose:alpine-1.27.4
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