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
|
|
|
|
- ls -tla /
|
|
|
|
#- env
|
|
|
|
#- cat /etc/resolv.conf
|
2022-11-28 00:28:51 +00:00
|
|
|
settings:
|
|
|
|
dry_run: true
|
2022-11-28 00:34:05 +00:00
|
|
|
repo: test/test
|
2022-11-28 01:06:30 +00:00
|
|
|
custom_dns: [116.202.204.30]
|
|
|
|
username: foo
|
|
|
|
password: bar
|
2022-11-28 00:28:51 +00:00
|
|
|
tags:
|
|
|
|
- ${DRONE_COMMIT_SHA}
|
|
|
|
- ${DRONE_BRANCH}
|