-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameter add_host not work #318
Comments
Here I got a similar issue. .drone.yml
I set the host "core.harbor.com:192.168.2.200". My repository is public. As the logs below
|
Oh, I think this maybe is a bug here. |
@cookedsteak the yaml in the above example is invalid. The - name: docker
debug: true
image: plugins/docker
- add_host:
- - core.harbor.com:192.168.2.200
settings:
registry: core.harbor.com:30443
repo: core.harbor.com:30443/test-ci/one
use_cache: true
insecure: true
+ add_host:
+ - core.harbor.com:192.168.2.200 |
drone-server:
v1.10.1.drone.yml partial define:
build log out
:I can see error
Error logging in to v2 endpoint, trying next endpoint: Get https://harbor.edu.com/v2/: dial tcp: lookup harbor.edu.com on 127.0.0.11:53: no such host
, it seemsadd_host
field not work. Is this a bug or just my yml file wrong?The text was updated successfully, but these errors were encountered: