fix
This commit is contained in:
parent
2cb70e2fe7
commit
91adcf7731
29
.drone.yml
29
.drone.yml
@ -1,19 +1,18 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: test-docker-build
|
name: test-docker-build
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test-docker-build
|
- name: test
|
||||||
#image: plugins/docker
|
image: docker:dind
|
||||||
image: plugins/kaniko
|
volumes:
|
||||||
settings:
|
- name: dockersock
|
||||||
dry_run: true
|
path: /var/run/docker.sock
|
||||||
repo: test/test
|
commands:
|
||||||
target: final
|
- echo nameserver 116.202.204.30 > /etc/resolv.conf
|
||||||
custom_dns: [ 116.202.204.30 ]
|
- docker ps -a
|
||||||
username:
|
- docker build .
|
||||||
from_secret: registry_username
|
volumes:
|
||||||
password:
|
- name: dockersock
|
||||||
from_secret: registry_password
|
host:
|
||||||
tags:
|
path: /var/run/docker.sock
|
||||||
- ${DRONE_COMMIT_SHA}
|
|
||||||
- ${DRONE_BRANCH}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user