From 8cddbc9ebbf3f78740c32952e52b76bf97e73112 Mon Sep 17 00:00:00 2001 From: nscuro Date: Tue, 17 Jan 2023 21:09:15 +0100 Subject: [PATCH] Fix redundant push when using buildx Fixes #30424 --- .../container/image/docker/deployment/DockerProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/container-image/container-image-docker/deployment/src/main/java/io/quarkus/container/image/docker/deployment/DockerProcessor.java b/extensions/container-image/container-image-docker/deployment/src/main/java/io/quarkus/container/image/docker/deployment/DockerProcessor.java index a9bc9b2e303f2a..f6a5d79ab181d5 100644 --- a/extensions/container-image/container-image-docker/deployment/src/main/java/io/quarkus/container/image/docker/deployment/DockerProcessor.java +++ b/extensions/container-image/container-image-docker/deployment/src/main/java/io/quarkus/container/image/docker/deployment/DockerProcessor.java @@ -221,7 +221,7 @@ private String createContainerImage(ContainerImageConfig containerImageConfig, D } } - if (pushContainerImage) { + if (!useBuildx && pushContainerImage) { // If not using buildx, push the images loginToRegistryIfNeeded(containerImageConfig, containerImageInfo, dockerConfig);