cicd: attempt fix
This commit is contained in:
parent
74ef0930d5
commit
4bf1d0e24c
16
.drone.yml
16
.drone.yml
|
@ -10,8 +10,9 @@ workspace:
|
||||||
path: /opt
|
path: /opt
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
temp: {}
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
@ -23,10 +24,7 @@ services:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup_image
|
- name: setup_image
|
||||||
image: docker:dind
|
image: docker:latest
|
||||||
volumes:
|
|
||||||
- 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 .
|
||||||
|
@ -37,17 +35,11 @@ steps:
|
||||||
- sleep 5
|
- sleep 5
|
||||||
|
|
||||||
- name: list_images
|
- name: list_images
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
commands:
|
commands:
|
||||||
- docker images
|
- docker images
|
||||||
|
|
||||||
- name: setup_conan
|
- name: setup_conan
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run
|
|
||||||
image: ubuntu_amd64
|
image: ubuntu_amd64
|
||||||
environment:
|
environment:
|
||||||
CONAN_REVISIONS_ENABLED: "1"
|
CONAN_REVISIONS_ENABLED: "1"
|
||||||
|
|
Loading…
Reference in New Issue