.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
49c71e1476
commit
229325cab2
|
@ -37,7 +37,7 @@ def wait(delay, name):
|
|||
}
|
||||
def build(name):
|
||||
return {
|
||||
"name": "build-{name}",
|
||||
"name": "build-{name}".format(name=name),
|
||||
"image": "docker:dind",
|
||||
"volumes": [
|
||||
{
|
||||
|
@ -49,9 +49,9 @@ def build(name):
|
|||
"local-docker-registry",
|
||||
]),
|
||||
"commands": [
|
||||
"cd {name}",
|
||||
"docker build . -t $${{LOCAL_DOCKER_REGISTRY}}{name}",
|
||||
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}",
|
||||
"cd {name}".format(name=name),
|
||||
"docker build . -t $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
|
||||
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
|
||||
],
|
||||
}
|
||||
def steps(name, dependsOn):
|
||||
|
|
Reference in New Issue