Interface RegistryCredentialsAware

All Superinterfaces:
Comparable<Task>, ExtensionAware, Task
All Known Implementing Classes:
DockerBuildImage, DockerPullImage, DockerPushImage

public interface RegistryCredentialsAware extends Task
  • Method Details

    • getRegistryCredentials

      DockerRegistryCredentials getRegistryCredentials()
      The target Docker registry credentials for usage with a task.
    • registryCredentials

      void registryCredentials(Action<? super DockerRegistryCredentials> action)
      Configures the target Docker registry credentials for use with a task.
      Parameters:
      action - The action against the Docker registry credentials
      Since:
      6.0.0