.
This commit is contained in:
parent
2c0470e3fb
commit
a80bcfabbc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue