@Mojo(name="removeImage") public class RemoveImageMojo extends AbstractDockerMojo
| Modifier and Type | Field and Description |
|---|---|
private String |
imageName
Name of image to remove.
|
private List<String> |
imageTags
Additional tags to remove.
|
private boolean |
removeAllTags
Additional tags to tag the image with.
|
execution, session| Constructor and Description |
|---|
RemoveImageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(com.spotify.docker.client.DockerClient docker) |
buildDockerClient, dockerCertificates, execute, getBuilder, getRetryPushCount, getRetryPushTimeout, isSkipDocker, isSkipDockerPush, rawDockerHost, registryAuth@Parameter(property="imageName",
required=true)
private String imageName
@Parameter(property="dockerImageTags") private List<String> imageTags
@Parameter(property="removeAllTags",
defaultValue="false")
private boolean removeAllTags
protected void execute(com.spotify.docker.client.DockerClient docker)
throws org.apache.maven.plugin.MojoExecutionException,
com.spotify.docker.client.exceptions.DockerException,
InterruptedException
execute in class AbstractDockerMojoorg.apache.maven.plugin.MojoExecutionExceptioncom.spotify.docker.client.exceptions.DockerExceptionInterruptedExceptionCopyright © 2019. All rights reserved.