Skip to content

Commit

Permalink
Fix redundant push when using buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro committed Jan 17, 2023
1 parent 4f36e10 commit 6452f5f
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 6452f5f

Please sign in to comment.