public class DockerPushImageTask extends AbstractDockerRegistryTask<DockerPushImageTask>
email, image, password, registryType, usernameenvironmentVariables, workingSubdirectorydescription, taskEnabled| Constructor and Description |
|---|
DockerPushImageTask() |
| Modifier and Type | Method and Description |
|---|---|
protected DockerRegistryTaskProperties |
build() |
DockerPushImageTask |
customRegistryImage(String repository)
Specify repository and image name which will be pushed to the custom registry.
|
DockerPushImageTask |
dockerHubImage(String repository)
Specify image name which will be pushed to Docker Hub.
|
authentication, authentication, defaultAuthenticationenvironmentVariables, workingSubdirectorydescription, enabledpublic DockerPushImageTask dockerHubImage(@NotNull String repository)
Setting either this field or customRegistryImage(String) is mandatory.
dockerHubImage in class AbstractDockerRegistryTask<DockerPushImageTask>public DockerPushImageTask customRegistryImage(@NotNull String repository)
Setting either this field or dockerHubImage(String)} is mandatory.
customRegistryImage in class AbstractDockerRegistryTask<DockerPushImageTask>@NotNull protected DockerRegistryTaskProperties build()
build in class Task<DockerPushImageTask,DockerRegistryTaskProperties>Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.