Compare commits

...

1 Commits

Author SHA1 Message Date
Christian Richter
feb9039582 attempt 2
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-11 16:38:25 +02:00

View File

@@ -7,30 +7,22 @@ def main(ctx):
def step(arch): def step(arch):
return { return {
"kind": "pipeline", "kind": "pipeline",
"name": "build-%s" % arch, "type": "docker",
"name": "docker-%s" % (arch),
"platform": {
"os": "linux",
"arch": arch,
},
"steps": [ "steps": [
{ {
"name": "build", "name": "dryrun",
"image": "plugins/docker", "image": "plugins/docker",
"repo": "dragonchaser/motsognir", # "image": "thegeeklab/drone-docker:19",
"volumes": [ "settings": {
{ "dockerfile": "motsognir/Dockerfile",
"name":"docker_sock", "dry_run": "true",
"path":"/var/run/docker.sock" "repo": "dragonchaser/dockerhub-autobuild",
} }
], },
"commands": [
"cd motsognir",
"docker build -t dragonchaser/motsognir:latest ."
]
}
], ],
"volumes": [
{
"name":"docker_sock",
"host": {
"path": "/var/run/docker.sock"
}
}
]
} }