Check docker info
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2022-08-20 23:16:47 +02:00
parent c7dd5b8018
commit 9f39ed65eb

View File

@ -42,13 +42,16 @@ local check_steps() = [
[{ [{
name: 'wait-for-docker', name: 'wait-for-docker',
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim', image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
commands: ['while ! docker image ls; do sleep 1; done'], commands: [
'while ! docker image ls; do sleep 1; done',
'docker info',
],
volumes: [{ volumes: [{
name: 'dockersock', name: 'dockersock',
path: '/var/run', path: '/var/run',
}], }],
}] }] +
+ check_steps() + // check_steps() +
[ [
{ {
name: 'build', name: 'build',
@ -67,10 +70,6 @@ local check_steps() = [
volumes: [{ volumes: [{
name: 'dockersock', name: 'dockersock',
path: '/var/run', path: '/var/run',
}, {
type: 'bind',
source: '/var/lib/docker',
target: '/var/lib/docker',
}], }],
}], }],