private void dockerPush(int retries, boolean skipTag, BuildImageConfiguration buildConfig, String name, String configuredRegistry, AuthConfig authConfig)
        throws DockerAccessException {
        long start = System.currentTimeMillis();
        docker.pushImage(name, authConfig, configuredRegistry, retries);
        log.info("Pushed %s in %s", name, EnvUtil.formatDurationTill(start));

        if (!skipTag) {
            for (String tag : buildConfig.getTags()) {
                if (tag != null) {
                    docker.pushImage(new ImageName(name, tag).getFullName(), authConfig, configuredRegistry, retries);
                }
            }
        }
    }
Push a set of images to a registry

@param imageConfigs images to push (but only if they have a build configuration)
@param retries how often to retry
@param registryConfig a global registry configuration
@param skipTag flag to skip pushing tagged images
@throws DockerAccessException
@throws MojoExecutionException
src/main/java/io/fabric8/maven/docker/service/RegistryService.java