public class DockerTaskStep extends TaskStepProperties
Constructor and Description |
---|
DockerTaskStep() |
Modifier and Type | Method and Description |
---|---|
List<Argument> |
arguments()
Get the collection of override arguments to be used when executing this build step.
|
String |
dockerFilePath()
Get the Docker file path relative to the source context.
|
List<String> |
imageNames()
Get the fully qualified image names including the repository and tag.
|
Boolean |
isPushEnabled()
Get the value of this property indicates whether the image built should be pushed to the registry or not.
|
Boolean |
noCache()
Get the value of this property indicates whether the image cache is enabled or not.
|
DockerTaskStep |
withArguments(List<Argument> arguments)
Set the collection of override arguments to be used when executing this build step.
|
DockerTaskStep |
withDockerFilePath(String dockerFilePath)
Set the Docker file path relative to the source context.
|
DockerTaskStep |
withImageNames(List<String> imageNames)
Set the fully qualified image names including the repository and tag.
|
DockerTaskStep |
withIsPushEnabled(Boolean isPushEnabled)
Set the value of this property indicates whether the image built should be pushed to the registry or not.
|
DockerTaskStep |
withNoCache(Boolean noCache)
Set the value of this property indicates whether the image cache is enabled or not.
|
baseImageDependencies, contextPath, withContextPath
public List<String> imageNames()
public DockerTaskStep withImageNames(List<String> imageNames)
imageNames
- the imageNames value to setpublic Boolean isPushEnabled()
public DockerTaskStep withIsPushEnabled(Boolean isPushEnabled)
isPushEnabled
- the isPushEnabled value to setpublic Boolean noCache()
public DockerTaskStep withNoCache(Boolean noCache)
noCache
- the noCache value to setpublic String dockerFilePath()
public DockerTaskStep withDockerFilePath(String dockerFilePath)
dockerFilePath
- the dockerFilePath value to setpublic List<Argument> arguments()
public DockerTaskStep withArguments(List<Argument> arguments)
arguments
- the arguments value to setCopyright © 2019. All rights reserved.