From d9f5a343920de4d7f5ed5789e2f5e3ca20cd8a59 Mon Sep 17 00:00:00 2001 From: kleph Date: Sat, 15 Feb 2020 13:02:11 +0100 Subject: [PATCH] [CI] Use detached step instead of service to run dockerd only after linters --- .drone.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1a7638a..68659b7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,16 @@ steps: commands: - mdl --style all --warnings . +# use detached image / service to run dockerd +# services: +- name: docker + image: docker:18.09-dind + environment: + DOCKER_TLS_CERTDIR: "" + command: [ "--storage-driver=vfs", "--tls=false" ] + privileged: true + detached: true + - name: build image image: docker:stable environment: @@ -38,10 +48,3 @@ steps: - docker login -u $USERNAME -p $PASSWORD - docker image push kleph/beer -services: - - name: docker - image: docker:18.09-dind - environment: - DOCKER_TLS_CERTDIR: "" - command: [ "--storage-driver=vfs", "--tls=false" ] - privileged: true