fix
This commit is contained in:
parent
2cb70e2fe7
commit
4a41773c7e
17
.drone.yml
17
.drone.yml
@ -3,17 +3,20 @@ name: test-docker-build
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test-docker-build
|
- name: test-docker-build
|
||||||
#image: plugins/docker
|
image: plugins/docker
|
||||||
image: plugins/kaniko
|
#image: plugins/kaniko
|
||||||
|
commands:
|
||||||
|
- echo nameserver 116.202.204.30 > /etc/resolv.conf
|
||||||
|
- cd /var/run && ls -tla && cd -
|
||||||
|
- DOCKER_HOST=unix:///var/run/docker.sock docker build .
|
||||||
|
#- env
|
||||||
|
#- cat /etc/resolv.conf
|
||||||
settings:
|
settings:
|
||||||
dry_run: true
|
dry_run: true
|
||||||
repo: test/test
|
repo: test/test
|
||||||
target: final
|
|
||||||
custom_dns: [116.202.204.30]
|
custom_dns: [116.202.204.30]
|
||||||
username:
|
username: foo
|
||||||
from_secret: registry_username
|
password: bar
|
||||||
password:
|
|
||||||
from_secret: registry_password
|
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
- ${DRONE_BRANCH}
|
- ${DRONE_BRANCH}
|
||||||
|
Loading…
Reference in New Issue
Block a user