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

This commit is contained in:
Giles Bradshaw 2020-04-25 21:44:43 +01:00
parent d5bb390452
commit fd66f1f826
1 changed files with 41 additions and 17 deletions

View File

@ -54,6 +54,25 @@ def build(name):
"docker push $${{LOCAL_DOCKER_REGISTRY}}{name}".format(name=name),
],
}
def buildNginx(name):
return {
"name": "build-nginx-{name}".format(name=name),
"image": "docker:dind",
"volumes": [
{
"name": "dockersock",
"path": "/var/run",
},
],
"environment": environment([
"local-docker-registry",
]),
"commands": [
"cd lestencrypt-nginx",
"sh build.sh {name} $${LOCAL_DOCKER_REGISTRY}".format(name = name),
],
}
def steps(name, dependsOn):
return {
"kind": "pipeline",
@ -69,6 +88,11 @@ def steps(name, dependsOn):
wait(15, "wait"),
build("guacamole-postgresql"),
build("ngrok-gitea"),
build("letsencrypt-nginx"),
buildNginx("blog"),
buildNginx("drone"),
buildNginx("git"),
buildNginx("remote"),
{
"name": "build",
"image": "alpine",