define pipeline volumes outside of steps
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Joe 2020-09-04 07:07:52 -05:00
parent f7d913898d
commit 750b44c39f
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
1 changed files with 5 additions and 0 deletions

View File

@ -14,3 +14,8 @@ steps:
path: /var/run/docker.sock
commands:
- docker build --no-cache -t klip:${DRONE_COMMIT} -f Dockerfile .
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock