Try again with volume binding
Some checks reported errors
continuous-integration/drone/push Build was killed

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

View File

@ -45,6 +45,7 @@ local check_steps() = [
commands: [
'while ! docker image ls; do sleep 1; done',
'docker info',
'docker pull hello-world:latest',
],
volumes: [{
name: 'dockersock',
@ -67,16 +68,30 @@ local check_steps() = [
name: 'docker',
image: 'docker:dind',
privileged: true,
volumes: [{
name: 'dockersock',
path: '/var/run',
}],
volumes: [
{
name: 'dockersock',
path: '/var/run',
},
{
name: 'docker-storage',
path: '/var/lib/docker',
},
],
}],
volumes: [{
name: 'dockersock',
temp: {},
}],
volumes: [
{
name: 'dockersock',
temp: {},
},
{
name: 'docker-storage',
host: {
path: '/var/lib/docker',
},
},
],
image_pull_secrets: ['docker_private_repo'],
}