.
This commit is contained in:
parent
a9ce4ed6a4
commit
80e1254aa9
|
@ -217,6 +217,8 @@ services:
|
||||||
path: /var/run
|
path: /var/run
|
||||||
- name: ca
|
- name: ca
|
||||||
path: /etc/docker/certs.d
|
path: /etc/docker/certs.d
|
||||||
|
- name: daemonjson
|
||||||
|
path: /etc/docker/daemon.json
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
|
@ -224,6 +226,10 @@ volumes:
|
||||||
- name: ca
|
- name: ca
|
||||||
host:
|
host:
|
||||||
path: /etc/docker/certs.d
|
path: /etc/docker/certs.d
|
||||||
|
- name: daemonjson
|
||||||
|
host:
|
||||||
|
path: /etc/docker/daemon.json
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
|
@ -1,8 +1 @@
|
||||||
pwd
|
|
||||||
echo "~$USER"
|
|
||||||
ls ~/.docker
|
|
||||||
cat ~/.docker/config.json
|
|
||||||
if [ "$SCHEME" == "https" ]
|
|
||||||
then
|
|
||||||
docker login ${REGISTRY_DOMAIN}:${REGISTRY_PORT} --username client --password "${REGISTRY_PASSWORD}"
|
docker login ${REGISTRY_DOMAIN}:${REGISTRY_PORT} --username client --password "${REGISTRY_PASSWORD}"
|
||||||
fi
|
|
|
@ -1,4 +1 @@
|
||||||
if [ "$SCHEME" == "https" ]
|
|
||||||
then
|
|
||||||
docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT}
|
docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT}
|
||||||
fi
|
|
Loading…
Reference in New Issue