Skip to content

Commit

Permalink
Merge pull request #30426 from nscuro/issue-30424
Browse files Browse the repository at this point in the history
Fix redundant push when using buildx
  • Loading branch information
gsmet committed Jan 19, 2023
2 parents b163409 + 6452f5f commit d498a8a
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 d498a8a

Please sign in to comment.