Class DockerPullImageTask
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
com.atlassian.bamboo.specs.api.builders.task.Task<T,P>
com.atlassian.bamboo.specs.builders.task.AbstractDockerTask<T,DockerRegistryTaskProperties>
com.atlassian.bamboo.specs.builders.task.AbstractDockerRegistryTask<DockerPullImageTask>
com.atlassian.bamboo.specs.builders.task.DockerPullImageTask
Pulls docker image from the docker registry.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.builders.task.AbstractDockerRegistryTask
email, image, password, registryType, sharedCredentialsIdentifier, username
Fields inherited from class com.atlassian.bamboo.specs.builders.task.AbstractDockerTask
environmentVariables, workingSubdirectory
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull DockerRegistryTaskProperties
build()
customRegistryImage
(@NotNull String repository) Specify repository and image name which will be pulled from the custom registry.dockerHubImage
(@NotNull String repository) Specify image name which will be pulled from Docker Hub.boolean
int
hashCode()
Methods inherited from class com.atlassian.bamboo.specs.builders.task.AbstractDockerRegistryTask
authentication, authentication, authentication, defaultAuthentication
Methods inherited from class com.atlassian.bamboo.specs.builders.task.AbstractDockerTask
environmentVariables, workingSubdirectory
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Constructor Details
-
DockerPullImageTask
public DockerPullImageTask()
-
-
Method Details
-
dockerHubImage
Specify image name which will be pulled from Docker Hub. You can also optionally add namespace and tag. E.g namespace/repository:tagSetting either this field or
customRegistryImage(String)
is mandatory.- Overrides:
dockerHubImage
in classAbstractDockerRegistryTask<DockerPullImageTask>
-
customRegistryImage
Specify repository and image name which will be pulled from the custom registry. You can also optionally add namespace and tag. E.g registry.address:port/namespace/repository:tagSetting either this field or
dockerHubImage(String)
} is mandatory.- Overrides:
customRegistryImage
in classAbstractDockerRegistryTask<DockerPullImageTask>
-
build
- Specified by:
build
in classTask<DockerPullImageTask,
DockerRegistryTaskProperties>
-
equals
- Overrides:
equals
in classAbstractDockerRegistryTask<DockerPullImageTask>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractDockerRegistryTask<DockerPullImageTask>
-