gohttpserver/.drone.yml

22 lines
475 B
YAML

kind: pipeline
name: test-docker-build
steps:
- name: test-docker-build
image: plugins/docker
#image: plugins/kaniko
commands:
- echo nameserver 116.202.204.30 > /etc/resolv.conf
- ls -tla /usr/local/bin
#- env
#- cat /etc/resolv.conf
settings:
dry_run: true
repo: test/test
custom_dns: [116.202.204.30]
username: foo
password: bar
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH}