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 ebullient committed Jan 24, 2023
1 parent 45fb5f6 commit 4e846c3
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 4e846c3

Please sign in to comment.