.
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: commands:
- set -e - set -e
- sleep 40 - sleep 40
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}" - export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
- "sh .drone/lib/initialise-images.sh " - docker login $${REGISTRY} --username client --password "$${REGISTRY_PASSWORD}"
- docker logout $${LOCAL_DOCKER_REGISTRY} - sh .drone/lib/initialise-images.sh $${REGISTRY}
- docker logout $${REGISTRY}
environment: environment:
LOCAL_DOCKER_REGISTRY: REGISTRY_DOMAIN:
from_secret: local-docker-registry from_secret: registry-domain
LOCAL_REGISTRY_PASSWORD: REGISTRY_PASSWORD:
from_secret: local-registry-password from_secret: registry-password
REGISTRY_PORT:
from_secret: registry-port
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run