diff --git a/.drone.yml b/.drone.yml index 68659b7..1a7638a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,16 +25,6 @@ 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: @@ -48,3 +38,10 @@ 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