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):
return {
"kind": "pipeline",
"name": "build-%s" % arch,
"type": "docker",
"name": "docker-%s" % (arch),
"platform": {
"os": "linux",
"arch": arch,
},
"steps": [
{
"name": "build",
"name": "dryrun",
"image": "plugins/docker",
"repo": "dragonchaser/motsognir",
"volumes": [
{
"name":"docker_sock",
"path":"/var/run/docker.sock"
# "image": "thegeeklab/drone-docker:19",
"settings": {
"dockerfile": "motsognir/Dockerfile",
"dry_run": "true",
"repo": "dragonchaser/dockerhub-autobuild",
}
},
],
"commands": [
"cd motsognir",
"docker build -t dragonchaser/motsognir:latest ."
]
}
],
"volumes": [
{
"name":"docker_sock",
"host": {
"path": "/var/run/docker.sock"
}
}
]
}