-
Bug
-
Resolution: Won't Do
-
Trivial
-
None
-
Docker commons plugin Version 1.2 (Jul 29 2015)
The Docker registry URL value may be change as per project but not for the whole installation.
The current code looks like:
// DockerRegistryEndpoint.java /** * Gets the endpoint URL, such as "https://index.docker.io/v1/" */ public @Nonnull URL getEffectiveUrl() throws IOException { if (url != null) { return new URL(url); } else { return new URL("https://index.docker.io/v1/"); } }
It would be great to:
1. be able to configure the registry for the whole project
2. retrieve the registry value from a environment variable