Class DockerTaskStep

java.lang.Object
com.microsoft.azure.management.containerregistry.TaskStepProperties
com.microsoft.azure.management.containerregistry.DockerTaskStep

public class DockerTaskStep extends TaskStepProperties
The Docker build step.
  • Constructor Details

    • DockerTaskStep

      public DockerTaskStep()
  • Method Details

    • imageNames

      public List<String> imageNames()
      Get the fully qualified image names including the repository and tag.
      Returns:
      the imageNames value
    • withImageNames

      public DockerTaskStep withImageNames(List<String> imageNames)
      Set the fully qualified image names including the repository and tag.
      Parameters:
      imageNames - the imageNames value to set
      Returns:
      the DockerBuildStep object itself.
    • isPushEnabled

      public Boolean isPushEnabled()
      Get the value of this property indicates whether the image built should be pushed to the registry or not.
      Returns:
      the isPushEnabled value
    • withIsPushEnabled

      public DockerTaskStep withIsPushEnabled(Boolean isPushEnabled)
      Set the value of this property indicates whether the image built should be pushed to the registry or not.
      Parameters:
      isPushEnabled - the isPushEnabled value to set
      Returns:
      the DockerBuildStep object itself.
    • noCache

      public Boolean noCache()
      Get the value of this property indicates whether the image cache is enabled or not.
      Returns:
      the noCache value
    • withNoCache

      public DockerTaskStep withNoCache(Boolean noCache)
      Set the value of this property indicates whether the image cache is enabled or not.
      Parameters:
      noCache - the noCache value to set
      Returns:
      the DockerBuildStep object itself.
    • dockerFilePath

      public String dockerFilePath()
      Get the Docker file path relative to the source context.
      Returns:
      the dockerFilePath value
    • withDockerFilePath

      public DockerTaskStep withDockerFilePath(String dockerFilePath)
      Set the Docker file path relative to the source context.
      Parameters:
      dockerFilePath - the dockerFilePath value to set
      Returns:
      the DockerBuildStep object itself.
    • arguments

      public List<Argument> arguments()
      Get the collection of override arguments to be used when executing this build step.
      Returns:
      the arguments value
    • withArguments

      public DockerTaskStep withArguments(List<Argument> arguments)
      Set the collection of override arguments to be used when executing this build step.
      Parameters:
      arguments - the arguments value to set
      Returns:
      the DockerBuildStep object itself.