portainer/.drone-home.jsonnet

53 lines
808 B
Plaintext

local images = {
docker: {
image: 'docker:dind',
},
};
[
{
kind: 'pipeline',
type: 'docker',
name: 'build',
clone: {
disable: false,
depth: 0,
},
services: [
images.docker {
name: 'docker',
privileged: true,
volumes: [
{
name: 'dockersock',
path: '/var/run',
},
{
name: 'ca',
path: '/etc/docker/certs.d',
},
],
},
],
volumes: [
{
name: 'dockersock',
temp: {},
},
{
name: 'ca',
host: {
path: '/etc/docker/certs.d',
},
},
{
name: 'ssh',
host: {
path: '/home/giles/.ssh'
},
},
],
steps:[],
}
]