Try docker-in-docker
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
82bdfb250b
commit
dd253db252
17
.drone.yml
17
.drone.yml
|
@ -6,8 +6,23 @@ name: default
|
|||
steps:
|
||||
- name: test
|
||||
image: debian:11
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- sleep 5 # To ensure docker started.
|
||||
- apt update && apt install -y ansible docker.io python3-pip
|
||||
- python3 -m pip install "molecule[lint,docker]"
|
||||
- molecule test
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
|
|
Loading…
Reference in New Issue