[SOLVED] Drone, OAuth and no_proxy docker variable


I saw that Drone is passing HTTP_PROXY and HTTPS_PROXY to the container it is creating but I don’t see the NO_PROXY variable. Is it normal ? Or is it not implemented ?



EDIT: My bad, I did not pass it to the Drone container. But when I do my OAuth is not working anymore, I get this error

time="2018-01-25T10:16:19Z" level=error msg="cannot authenticate user. Post https://github.com/login/oauth/access_token: Access denied"

Yes, drone passes the NO_PROXY variable to containers. Relevant code here