.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d2171f6172
commit
b83c01b64e
20
.drone.star
20
.drone.star
|
@ -54,6 +54,25 @@ def build(name):
|
||||||
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
|
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
def buildHome():
|
||||||
|
return {
|
||||||
|
"name": "build-nginx-home",
|
||||||
|
"image": "docker:dind",
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"name": "dockersock",
|
||||||
|
"path": "/var/run",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"environment": environment([
|
||||||
|
"local-docker-registry",
|
||||||
|
]),
|
||||||
|
"commands": [
|
||||||
|
"cd lestencrypt-nginx",
|
||||||
|
"sh build.home.sh $${{LOCAL_DOCKER_REGISTRY}}",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
def buildNginx(name):
|
def buildNginx(name):
|
||||||
return {
|
return {
|
||||||
"name": "build-nginx-{name}".format(name=name),
|
"name": "build-nginx-{name}".format(name=name),
|
||||||
|
@ -89,6 +108,7 @@ def steps(name, dependsOn):
|
||||||
build("guacamole-postgresql"),
|
build("guacamole-postgresql"),
|
||||||
build("ngrok-gitea"),
|
build("ngrok-gitea"),
|
||||||
build("letsencrypt-nginx"),
|
build("letsencrypt-nginx"),
|
||||||
|
buildHome(),
|
||||||
buildNginx("blog"),
|
buildNginx("blog"),
|
||||||
buildNginx("drone"),
|
buildNginx("drone"),
|
||||||
buildNginx("git"),
|
buildNginx("git"),
|
||||||
|
|
Reference in New Issue