Compare commits
1 Commits
b103c94534
...
feb9039582
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
feb9039582 |
38
.drone.star
38
.drone.star
@@ -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",
|
||||
"image": "plugins/docker",
|
||||
"repo": "dragonchaser/motsognir",
|
||||
"volumes": [
|
||||
{
|
||||
"name":"docker_sock",
|
||||
"path":"/var/run/docker.sock"
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
"cd motsognir",
|
||||
"docker build -t dragonchaser/motsognir:latest ."
|
||||
]
|
||||
}
|
||||
"name": "dryrun",
|
||||
"image": "plugins/docker",
|
||||
# "image": "thegeeklab/drone-docker:19",
|
||||
"settings": {
|
||||
"dockerfile": "motsognir/Dockerfile",
|
||||
"dry_run": "true",
|
||||
"repo": "dragonchaser/dockerhub-autobuild",
|
||||
}
|
||||
},
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name":"docker_sock",
|
||||
"host": {
|
||||
"path": "/var/run/docker.sock"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user