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", "repo": "dragonchaser/motsognir", "tag": "latest-%s" % (arch) } }, ], "trigger": { "ref": [ "refs/pull/**", ], }, }