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',
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: [{
name: 'dockersock',
path: '/var/run',
}],
}]
+ check_steps() +
}] +
// check_steps() +
[
{
name: 'build',
@ -67,10 +70,6 @@ local check_steps() = [
volumes: [{
name: 'dockersock',
path: '/var/run',
}, {
type: 'bind',
source: '/var/lib/docker',
target: '/var/lib/docker',
}],
}],