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