Skip to content

Commit

Permalink
Fix redundant push when using buildx
Browse files Browse the repository at this point in the history
Fixes quarkusio#30424

(cherry picked from commit 6452f5f)
  • Loading branch information
nscuro authored and gsmet committed Jan 27, 2023
1 parent 681346a commit b3b178b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b3b178b

Please sign in to comment.