Default username and password for plugins/docker

Like DRONE_GIT_PASSWORD, can plugins/docker support a default username and password?

Drone already supports this by mounting a docker/config.json file [1] or by using a registry credential plugin [2].

[1] How to pull private images with 1.0

Seems both of them are about docker pull, are they also worked in plugins/docker with docker push?

If you want to provide default settings for plugins you can use DRONE_RUNNER_ENVIRON

1 Like