@Mojo(name="push",
defaultPhase=INSTALL,
requiresDependencyResolution=COMPILE)
public class PushMojo
extends io.fabric8.maven.docker.PushMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
skip |
protected boolean |
skipPush |
autoPull, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_START_CALLED, DOCKER_BUILD_TIMESTAMP, dockerAccessFactory, execution, imageConfigResolver, imagePullPolicy, keepContainer, log, project, registry, removeVolumes, serviceHubFactory, session, settings, skipExtendedAuth, useColor, verbose
Constructor and Description |
---|
PushMojo() |
Modifier and Type | Method and Description |
---|---|
List<io.fabric8.maven.docker.config.ImageConfiguration> |
customizeConfig(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
Customization hook called by the base plugin.
|
void |
execute() |
protected String |
getLogPrefix() |
contextualize, getBuildTimestamp, getBuildTimestampFile, getDockerAccessContext, getGavLabel, getImagePullManager, getLogDispatcher, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumes, isDockerAccessRequired
@Parameter(property="fabric8.skip", defaultValue="false") protected boolean skip
@Parameter(property="docker.skip.push", defaultValue="false") protected boolean skipPush
protected String getLogPrefix()
getLogPrefix
in class io.fabric8.maven.docker.AbstractDockerMojo
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class io.fabric8.maven.docker.AbstractDockerMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public List<io.fabric8.maven.docker.config.ImageConfiguration> customizeConfig(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
customizeConfig
in interface io.fabric8.maven.docker.config.ConfigHelper.Customizer
customizeConfig
in class io.fabric8.maven.docker.AbstractDockerMojo
configs
- configuration to customizeCopyright © 2020. All rights reserved.