add volume back in
authorFelix Ableitner <me@nutomic.com>
Wed, 9 Dec 2020 13:56:45 +0000 (14:56 +0100)
committerFelix Ableitner <me@nutomic.com>
Wed, 9 Dec 2020 13:56:45 +0000 (14:56 +0100)
.drone.yml

index 2117be675e518ae99ca9e0699ed9224195a25cb4..153e15275edf7ea8d62499381dea8044f9e4f9ee 100644 (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
\ No newline at end of file