gohttpserver/.drone.yml

18 lines
302 B
YAML
Raw Normal View History

2020-09-30 06:35:07 +00:00
kind: pipeline
name: test-docker-build
2022-11-28 01:06:30 +00:00
2020-09-30 06:35:07 +00:00
steps:
2022-11-28 01:06:30 +00:00
- name: test
image: docker:dind
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
#- echo nameserver 116.202.204.30 > /etc/resolv.conf
- docker build .
volumes:
- name: dockersock
host:
path: /var/run/docker.sock