.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is running Details

This commit is contained in:
Giles Bradshaw 2020-10-22 11:05:43 +01:00
parent a9ce4ed6a4
commit 80e1254aa9
3 changed files with 6 additions and 10 deletions

View File

@ -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:

View File

@ -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

View File

@ -1,4 +1 @@
if [ "$SCHEME" == "https" ]
then
docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT} docker logout ${REGISTRY_DOMAIN}:${REGISTRY_PORT}
fi