Class DockerRegistryCredentials

java.lang.Object
com.bmuschko.gradle.docker.DockerRegistryCredentials

public class DockerRegistryCredentials extends Object
The extension for configuring the Docker communication via the remote API through the DockerRemoteApiPlugin.

The following example demonstrates the use of the extension in a build script using the Groovy DSL:

 docker {
     registryCredentials {
         username = 'bmuschko'
         password = 'pwd'
     }
 }
 
  • Field Details

    • DEFAULT_URL

      public static final String DEFAULT_URL
      The registry URL used as default value for the property url.
      See Also:
  • Constructor Details

    • DockerRegistryCredentials

      @Inject public DockerRegistryCredentials(ObjectFactory objectFactory)
  • Method Details