From 59a21c38bc2cf0c82ab470c3452bc51882aa2319 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Mon, 13 Feb 2023 23:33:22 +0100 Subject: [PATCH] drone docker --- .drone.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 61ed774..4875737 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,25 +13,22 @@ steps: - name: docker-build image: docker - privileged: true + volumes: - source: /var/run/docker.sock target: /var/run/docker.sock commands: - docker build -t code.anufrij.de/webplay/client:latest ./docker - - name: docker-test image: docker - privileged: true commands: - docker run code.anufrij.de/webplay/client:latest npm test - name: docker-publish image: docker - privileged: true volumes: -- name: docker-socket - host: - path: /var/run/docker.sock \ No newline at end of file + - name: docker-socket + host: + path: /var/run/docker.sock