Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
c7dd5b8018
commit
9f39ed65eb
@ -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',
|
|
||||||
}],
|
}],
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user