Add docker sock to build step
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
db35563e6f
commit
b31fd4c945
|
|
@ -4,9 +4,17 @@ name: build
|
||||||
steps:
|
steps:
|
||||||
- name: node
|
- name: node
|
||||||
image: docker
|
image: docker
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker build --tag ofb_api .
|
- docker build --tag ofb_api .
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue