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 authored and mfpc committed Jan 19, 2023
1 parent 50f2ec2 commit 8cddbc9
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 8cddbc9

Please sign in to comment.