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:
|
||||
- test -z $(gofmt -l .)
|
||||
- name: build
|
||||
image: docker
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
commands:
|
||||
- docker build -f Dockerfile .
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
|
Loading…
Reference in New Issue
Block a user