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

This commit is contained in:
Giles Bradshaw 2020-09-24 10:22:49 +01:00
parent 2c0470e3fb
commit a80bcfabbc
1 changed files with 10 additions and 7 deletions

View File

@ -30,14 +30,17 @@ steps:
commands:
- set -e
- sleep 40
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
- "sh .drone/lib/initialise-images.sh "
- docker logout $${LOCAL_DOCKER_REGISTRY}
- export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
- docker login $${REGISTRY} --username client --password "$${REGISTRY_PASSWORD}"
- sh .drone/lib/initialise-images.sh $${REGISTRY}
- docker logout $${REGISTRY}
environment:
LOCAL_DOCKER_REGISTRY:
from_secret: local-docker-registry
LOCAL_REGISTRY_PASSWORD:
from_secret: local-registry-password
REGISTRY_DOMAIN:
from_secret: registry-domain
REGISTRY_PASSWORD:
from_secret: registry-password
REGISTRY_PORT:
from_secret: registry-port
volumes:
- name: dockersock
path: /var/run