Skip to content

Commit

Permalink
Merge pull request #24159 from geoand/#23836-again
Browse files Browse the repository at this point in the history
Respect quarkus.container-image.push=true in container-image-docker for native build
  • Loading branch information
geoand authored Mar 8, 2022
2 parents b718fba + 9e34a8f commit 56dcdfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void dockerBuildFromNativeImage(DockerConfig dockerConfig,
// used to ensure that the native binary has been built
NativeImageBuildItem nativeImage) {

if (containerImageConfig.isBuildExplicitlyDisabled()) {
if (containerImageConfig.isBuildExplicitlyDisabled() && !containerImageConfig.isPushExplicitlyEnabled()) {
return;
}

Expand Down

0 comments on commit 56dcdfc

Please sign in to comment.