drone-tests
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build encountered an error

Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
Christian Richter
2022-05-10 15:48:17 +02:00
parent 89e6a3d90a
commit 0e55852f7e
3 changed files with 36 additions and 6 deletions

36
.drone.star Normal file
View File

@@ -0,0 +1,36 @@
def main(ctx):
return [
step("amd64"),
step("arm64"),
]
def step(arch):
return {
"kind": "pipeline",
"name": "build-%s" % arch,
"steps": [
{
"name": "build",
"image": "plugins/docker",
"repo": "dragonchaser/motsognir",
"volumes": [
{
"name":"docker_sock",
"path":"/var/run/docker.sock"
}
],
"commands": [
"cd motsognir",
"docker build -t dragonchaser/motsognir:latest ."
]
}
],
"volumes": [
{
"name":"docker_sock",
"host": {
"path": "/var/run/docker.sock"
}
}
]
}