[CI] Use detached step instead of service to run dockerd only after linters
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
kleph 2020-02-15 13:02:11 +01:00
parent ed0bcf3426
commit d9f5a34392

View file

@ -25,6 +25,16 @@ steps:
commands: commands:
- mdl --style all --warnings . - 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 - name: build image
image: docker:stable image: docker:stable
environment: environment:
@ -38,10 +48,3 @@ steps:
- docker login -u $USERNAME -p $PASSWORD - docker login -u $USERNAME -p $PASSWORD
- docker image push kleph/beer - 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