From 2e265d1fc7aa629839117e9f8517ef0becf9c3dc Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Mon, 27 Apr 2020 14:17:40 +0100 Subject: [PATCH] . --- .drone.remote.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.drone.remote.yml b/.drone.remote.yml index b1022d1..171054e 100644 --- a/.drone.remote.yml +++ b/.drone.remote.yml @@ -121,7 +121,22 @@ steps: path: /var/run commands: - - sleep 60 + - sleep 15 +- name: build-drone-starlark + when: + branch: + - do + image: docker:dind + volumes: + - name: dockersock + path: /var/run + environment: + LOCAL_DOCKER_REGISTRY: + from_secret: local-docker-registry + commands: + - cd drone-starlark + - docker build . -t $${LOCAL_DOCKER_REGISTRY}drone-starlark + - docker push $${LOCAL_DOCKER_REGISTRY}drone-starlark - name: build-postgres when: branch: @@ -278,6 +293,7 @@ steps: - docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-nginx - docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-drone - docker pull $${LOCAL_DOCKER_REGISTRY}letsencrypt-remote + - docker pull $${LOCAL_DOCKER_REGISTRY}drone-starlark - docker network prune -f