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 a9bc9b2e303f2..f6a5d79ab181d 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);