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