Class DockerTaskStep
java.lang.Object
com.microsoft.azure.management.containerregistry.TaskStepProperties
com.microsoft.azure.management.containerregistry.DockerTaskStep
The Docker build step.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the collection of override arguments to be used when executing this build step.Get the Docker file path relative to the source context.Get the fully qualified image names including the repository and tag.Get the value of this property indicates whether the image built should be pushed to the registry or not.noCache()
Get the value of this property indicates whether the image cache is enabled or not.withArguments
(List<Argument> arguments) Set the collection of override arguments to be used when executing this build step.withDockerFilePath
(String dockerFilePath) Set the Docker file path relative to the source context.withImageNames
(List<String> imageNames) Set the fully qualified image names including the repository and tag.withIsPushEnabled
(Boolean isPushEnabled) Set the value of this property indicates whether the image built should be pushed to the registry or not.withNoCache
(Boolean noCache) Set the value of this property indicates whether the image cache is enabled or not.Methods inherited from class com.microsoft.azure.management.containerregistry.TaskStepProperties
baseImageDependencies, contextPath, withContextPath
-
Constructor Details
-
DockerTaskStep
public DockerTaskStep()
-
-
Method Details
-
imageNames
Get the fully qualified image names including the repository and tag.- Returns:
- the imageNames value
-
withImageNames
Set the fully qualified image names including the repository and tag.- Parameters:
imageNames
- the imageNames value to set- Returns:
- the DockerBuildStep object itself.
-
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
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
Get the value of this property indicates whether the image cache is enabled or not.- Returns:
- the noCache value
-
withNoCache
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
Get the Docker file path relative to the source context.- Returns:
- the dockerFilePath value
-
withDockerFilePath
Set the Docker file path relative to the source context.- Parameters:
dockerFilePath
- the dockerFilePath value to set- Returns:
- the DockerBuildStep object itself.
-
arguments
Get the collection of override arguments to be used when executing this build step.- Returns:
- the arguments value
-
withArguments
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.
-