.
This commit is contained in:
parent
a9ce4ed6a4
commit
80e1254aa9
|
@ -217,6 +217,8 @@ services:
|
|||
path: /var/run
|
||||
- name: ca
|
||||
path: /etc/docker/certs.d
|
||||
- name: daemonjson
|
||||
path: /etc/docker/daemon.json
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
@ -224,6 +226,10 @@ volumes:
|
|||
- name: ca
|
||||
host:
|
||||
path: /etc/docker/certs.d
|
||||
- name: daemonjson
|
||||
host:
|
||||
path: /etc/docker/daemon.json
|
||||
|
||||
|
||||
trigger:
|
||||
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}"
|
||||
fi
|
|
@ -1,4 +1 @@
|
|||
if [ "$SCHEME" == "https" ]
|
||||
then
|
||||
docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT}
|
||||
fi
|
Loading…
Reference in New Issue