Try again with volume binding
continuous-integration/drone/push Build was killed Details

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
1 changed files with 23 additions and 8 deletions

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'],
}