CI: maybe fix docker build
This commit is contained in:
parent
6e3f783734
commit
a99d6dec35
17
.drone.yml
17
.drone.yml
@ -12,9 +12,24 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- test -z $(gofmt -l .)
|
- test -z $(gofmt -l .)
|
||||||
- name: build
|
- name: build
|
||||||
image: docker
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- docker build -f Dockerfile .
|
- docker build -f Dockerfile .
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
|
Loading…
Reference in New Issue
Block a user