gohttpserver/.drone.yml

19 lines
320 B
YAML

kind: pipeline
name: test-docker-build
steps:
- name: test
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- echo nameserver 116.202.204.30 > /etc/resolv.conf
- docker ps -a
- docker build .
volumes:
- name: dockersock
host:
path: /var/run/docker.sock