Class ImagePush
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.honton.chas.buildx.maven.plugin.ImageGoal
-
- org.honton.chas.buildx.maven.plugin.Containerfile
-
- org.honton.chas.buildx.maven.plugin.buildx.ImageBuild
-
- org.honton.chas.buildx.maven.plugin.push.ImagePush
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,ConnectionCfg
@Mojo(name="push", defaultPhase=DEPLOY, threadSafe=true) public class ImagePush extends ImageBuild
Push image to registry
-
-
Field Summary
-
Fields inherited from class org.honton.chas.buildx.maven.plugin.buildx.ImageBuild
buildArguments, builder, BUILDX_MAVEN, contexts, image, platforms, provenance, registries, sbom
-
Fields inherited from class org.honton.chas.buildx.maven.plugin.Containerfile
containerFile, context
-
-
Constructor Summary
Constructors Constructor Description ImagePush()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute()
-
Methods inherited from class org.honton.chas.buildx.maven.plugin.buildx.ImageBuild
contexts, ctxDir
-
Methods inherited from class org.honton.chas.buildx.maven.plugin.Containerfile
containerFile, defaultContainerFile
-
Methods inherited from class org.honton.chas.buildx.maven.plugin.ImageGoal
execute, executeCommand, executeCommand, shortestPath
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.honton.chas.buildx.maven.plugin.config.ConnectionCfg
getCli
-
-
-
-
Method Detail
-
doExecute
protected final void doExecute() throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
doExecute
in classImageBuild
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-