use of org.springframework.boot.buildpack.platform.docker.TotalProgressPushListener in project spring-boot by spring-projects.
the class Builder method pushImage.
private void pushImage(ImageReference reference) throws IOException {
Consumer<TotalProgressEvent> progressConsumer = this.log.pushingImage(reference);
TotalProgressPushListener listener = new TotalProgressPushListener(progressConsumer);
this.docker.image().push(reference, listener, getPublishAuthHeader());
this.log.pushedImage(reference);
}
Aggregations