public abstract class AbstractDockerRegistryTask<T extends AbstractDockerRegistryTask> extends AbstractDockerTask<T,DockerRegistryTaskProperties>
DockerPushImageTask or
DockerPullImageTask.| Modifier and Type | Field and Description |
|---|---|
protected String |
email |
protected String |
image |
protected String |
password |
protected DockerRegistryTaskProperties.RegistryType |
registryType |
protected String |
username |
environmentVariables, workingSubdirectorydescription, taskEnabled| Constructor and Description |
|---|
AbstractDockerRegistryTask() |
| Modifier and Type | Method and Description |
|---|---|
T |
authentication(String username,
String password)
Sets authentication settings to authenticate to Docker registry.
|
T |
authentication(String username,
String password,
String email)
Sets authentication settings to authenticate to Docker registry.
|
T |
customRegistryImage(String image) |
T |
defaultAuthentication()
Use agent's ~/.dockercfg credentials to authenticate to Docker registry.
|
T |
dockerHubImage(String image) |
environmentVariables, workingSubdirectorybuild, description, enabled@NotNull protected String image
@NotNull protected DockerRegistryTaskProperties.RegistryType registryType
@Nullable protected String username
@Nullable protected String password
@Nullable protected String email
public T authentication(@NotNull String username, @NotNull String password, @NotNull String email)
defaultAuthentication()public T authentication(@NotNull String username, @NotNull String password)
defaultAuthentication()public T defaultAuthentication()
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.