1
0
Fork 0

Add DIND socket
continuous-integration/drone/push Build is failing Details

master
Ambrose Chua 2020-05-13 12:46:58 +08:00
parent 60a482c943
commit a026db8fcf
Signed by: ambrose
GPG Key ID: BC367D33F140B5C2
1 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,10 @@ name: default
steps:
- name: dockerhub
image: hairyhenderson/dockerfiles-builder:latest
privileged: true
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- bashbrew build caddy
- echo $PASSWORD | docker login --username $USERNAME --password-stdin
@ -17,3 +20,8 @@ steps:
from_secret: dockerhub_username
PASSWORD:
from_secret: dockerhub_token
volumes:
- name: dockersock
host:
path: /var/run/docker.sock