add volume back in

pull/1335/head
Felix Ableitner 2020-12-09 14:56:45 +01:00
parent f9f95a2b92
commit bfd306e9de
1 changed files with 8 additions and 1 deletions

View File

@ -3,10 +3,17 @@ name: default
steps:
- name: test
image: plugins/docker
image: compose:alpine-1.27.4
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- 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
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock