cicd: add docker service
This commit is contained in:
parent
3267e79867
commit
ead83dd02f
10
.drone.yml
10
.drone.yml
|
@ -11,9 +11,17 @@ volumes:
|
||||||
host:
|
host:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup_image
|
- name: setup_image
|
||||||
image: docker:dind
|
image: docker
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
Loading…
Reference in New Issue