.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-25 21:19:46 +01:00
parent 49c71e1476
commit 229325cab2
1 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ def wait(delay, name):
} }
def build(name): def build(name):
return { return {
"name": "build-{name}", "name": "build-{name}".format(name=name),
"image": "docker:dind", "image": "docker:dind",
"volumes": [ "volumes": [
{ {
@ -49,9 +49,9 @@ def build(name):
"local-docker-registry", "local-docker-registry",
]), ]),
"commands": [ "commands": [
"cd {name}", "cd {name}".format(name=name),
"docker build . -t $${{LOCAL_DOCKER_REGISTRY}}{name}", "docker build . -t $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}", "docker push $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
], ],
} }
def steps(name, dependsOn): def steps(name, dependsOn):