public class PushMojo extends AbstractDockerMojo {
/** {@inheritDoc} */
public void executeInternal(DockerAccess docker) throws DockerAccessException, MojoExecutionException {
for (ImageConfiguration imageConfig : getImages()) {
BuildImageConfiguration buildConfig = imageConfig.getBuildConfiguration();
String name = getImageName(imageConfig.getName());
if (buildConfig != null) {
docker.pushImage(name,prepareAuthConfig(name));
}
}