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

This commit is contained in:
giles bradshaw 2020-04-02 15:45:59 +00:00
parent 8f05c521cc
commit b9d11e0506
3 changed files with 4 additions and 4 deletions

View File

@ -36,8 +36,8 @@ steps:
from_secret: local-docker-registry from_secret: local-docker-registry
commands: commands:
- cd letsencrypt-nginx - cd letsencrypt-nginx
- docker build . -t $${LOCAL_DOCKER_REGISTRY}/letsencrypt-nginx - docker build . -t $${LOCAL_DOCKER_REGISTRY}letsencrypt-nginx
- docker push $${LOCAL_DOCKER_REGISTRY}/letsencrypt-nginx - docker push $${LOCAL_DOCKER_REGISTRY}letsencrypt-nginx
- name: build-letsencrypt-git - name: build-letsencrypt-git
when: when:
branch: branch:

View File

@ -141,7 +141,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- DRONE_RPC_PROTO=https - DRONE_RPC_PROTO=https
- DRONE_RPC_HOST=${DRONE_DOMAIN}:5000 - DRONE_RPC_HOST=${GIT_DOMAIN}:5000
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET} - DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
- DRONE_RUNNER_CAPACITY=8 - DRONE_RUNNER_CAPACITY=8
- DRONE_RUNNER_NAME="docker-runner" - DRONE_RUNNER_NAME="docker-runner"

View File

@ -1,3 +1,3 @@
set -e set -e
docker build . -f Dockerfile.$1 --build-arg image=$2/letsencrypt-nginx -t $2/letsencrypt-$1 docker build . -f Dockerfile.$1 --build-arg image=$2letsencrypt-nginx -t $2letsencrypt-$1
docker push $2/letsencrypt-$1 docker push $2/letsencrypt-$1