try again
This commit is contained in:
parent
2cb70e2fe7
commit
5efc80fd3e
20
.drone.yml
20
.drone.yml
|
@ -3,17 +3,21 @@ name: test-docker-build
|
|||
|
||||
steps:
|
||||
- name: test-docker-build
|
||||
#image: plugins/docker
|
||||
image: plugins/kaniko
|
||||
image: plugins/docker
|
||||
#image: plugins/kaniko
|
||||
commands:
|
||||
- echo nameserver 116.202.204.30 > /etc/resolv.conf
|
||||
- /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock --dns 116.202.204.30
|
||||
- ls
|
||||
- docker build .
|
||||
#- env
|
||||
#- cat /etc/resolv.conf
|
||||
settings:
|
||||
dry_run: true
|
||||
repo: test/test
|
||||
target: final
|
||||
custom_dns: [ 116.202.204.30 ]
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
custom_dns: [116.202.204.30]
|
||||
username: foo
|
||||
password: bar
|
||||
tags:
|
||||
- ${DRONE_COMMIT_SHA}
|
||||
- ${DRONE_BRANCH}
|
||||
|
|
Loading…
Reference in New Issue