Some checks reported errors
continuous-integration/drone/pr Build was killed
Signed-off-by: Christian Richter <crichter@owncloud.com>
35 lines
687 B
Plaintext
35 lines
687 B
Plaintext
def main(ctx):
|
|
return [
|
|
step("amd64"),
|
|
step("arm64"),
|
|
]
|
|
|
|
def step(arch):
|
|
return {
|
|
"kind": "pipeline",
|
|
"type": "docker",
|
|
"name": "docker-%s" % (arch),
|
|
"platform": {
|
|
"os": "linux",
|
|
"arch": arch,
|
|
},
|
|
"steps": [
|
|
{
|
|
"name": "dryrun",
|
|
"image": "plugins/docker",
|
|
"settings": {
|
|
"dockerfile": "motsognir/Dockerfile",
|
|
"dry_run": "true",
|
|
"purge":"true",
|
|
"repo": "dragonchaser/dockerhub-autobuild",
|
|
"tag": "latest-%s" % (arch)
|
|
}
|
|
},
|
|
],
|
|
"trigger": {
|
|
"ref": [
|
|
"refs/pull/**",
|
|
],
|
|
},
|
|
}
|