Some checks reported errors
continuous-integration/drone/pr Build was killed
Signed-off-by: Christian Richter <crichter@owncloud.com>
39 lines
803 B
Plaintext
39 lines
803 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": "build-image-%s" % (arch),
|
|
"image": "plugins/docker",
|
|
"settings": {
|
|
"dockerfile": "motsognir/Dockerfile",
|
|
"repo": "dragonchaser/motsognir",
|
|
"tag": "latest-%s" % (arch),
|
|
"username": {
|
|
"from_secret":"dockerhub-user"
|
|
},
|
|
"password": {
|
|
"from_secret":"dockerhub-password"
|
|
}
|
|
}
|
|
},
|
|
],
|
|
"trigger": {
|
|
"ref": [
|
|
"refs/pull/**",
|
|
],
|
|
},
|
|
}
|