Fully remove docker-in-docker and cross
Some checks reported errors
continuous-integration/drone/push Build encountered an error

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

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