cicd: attempt fix docker dind
This commit is contained in:
parent
35a47c27b3
commit
84c931ce47
14
.drone.yml
14
.drone.yml
|
@ -9,16 +9,24 @@ platform:
|
||||||
workspace:
|
workspace:
|
||||||
path: /opt
|
path: /opt
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
privileged: true
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup_image
|
- name: setup_image
|
||||||
image: docker:latest
|
image: docker:dind
|
||||||
depends_on:
|
volumes:
|
||||||
- docker
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
|
- until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
|
||||||
- docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
|
- docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
|
||||||
|
|
Loading…
Reference in New Issue