Try again with volume binding
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
9f39ed65eb
commit
7e255f2576
@ -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: [{
|
||||
volumes: [
|
||||
{
|
||||
name: 'dockersock',
|
||||
path: '/var/run',
|
||||
}],
|
||||
},
|
||||
{
|
||||
name: 'docker-storage',
|
||||
path: '/var/lib/docker',
|
||||
},
|
||||
],
|
||||
}],
|
||||
|
||||
volumes: [{
|
||||
volumes: [
|
||||
{
|
||||
name: 'dockersock',
|
||||
temp: {},
|
||||
}],
|
||||
},
|
||||
{
|
||||
name: 'docker-storage',
|
||||
host: {
|
||||
path: '/var/lib/docker',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
image_pull_secrets: ['docker_private_repo'],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user