.
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):
|
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):
|
||||||
|
|
Reference in New Issue