Fully remove docker-in-docker and cross
continuous-integration/drone/push Build encountered an error Details

Signed-off-by: Jacob Kiers <code@kiers.eu>
This commit is contained in:
Jacob Kiers 2023-06-10 12:54:24 +02:00
parent 3b5016b887
commit 760d481515
1 changed files with 0 additions and 43 deletions

View File

@ -43,26 +43,6 @@ local add_build_steps() = [
arch: 'amd64',
},
steps:
[{
name: 'Wait for Docker',
image: build_image,
commands: [
'mkdir artifacts',
'echo Using image: ' + build_image,
'while ! docker image ls; do sleep 1; done',
'cargo --version',
'rustc --version',
'docker info',
'docker pull hello-world:latest',
],
environment: {
CROSS_REMOTE: true,
},
volumes: [{
name: 'dockersock',
path: '/var/run',
}],
}] +
add_build_steps() +
[
{
@ -91,28 +71,5 @@ local add_build_steps() = [
},
],
services: [{
name: 'docker',
image: 'docker:dind',
privileged: true,
volumes: [
{
name: 'dockersock',
path: '/var/run',
},
{
name: 'docker-storage',
path: '/var/lib/docker',
},
],
}],
volumes: [
{
name: 'dockersock',
temp: {},
},
],
image_pull_secrets: ['docker_private_repo'],
}