Skip to content

Commit

Permalink
Merge pull request #23861 from geoand/#23836
Browse files Browse the repository at this point in the history
Respect quarkus.container-image.push=true in container-image-docker
  • Loading branch information
geoand authored Feb 22, 2022
2 parents 2961655 + 18265fd commit 95cc838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void dockerBuildFromJar(DockerConfig dockerConfig,
@SuppressWarnings("unused") // used to ensure that the jar has been built
JarBuildItem jar) {

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

Expand Down

0 comments on commit 95cc838

Please sign in to comment.