gohttpserver/.drone.yml

23 lines
635 B
YAML
Raw Normal View History

2020-09-30 06:35:07 +00:00
kind: pipeline
name: test-docker-build
steps:
2022-11-28 00:28:51 +00:00
- name: test-docker-build
2022-11-28 01:06:30 +00:00
image: plugins/docker
#image: plugins/kaniko
commands:
- echo nameserver 116.202.204.30 > /etc/resolv.conf
- DOCKER_HOST=unix:///var/lib/docker.sock docker build .
#- /bin/sh /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
#- exec /bin/drone-docker
#- exec /bin/sh /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
#- env
#- cat /etc/resolv.conf
2022-11-28 00:28:51 +00:00
settings:
2022-11-28 01:06:30 +00:00
debug: true
#privileged: true
2022-11-28 00:34:05 +00:00
repo: test/test
2022-11-28 00:28:51 +00:00
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH}