Skip to content

Commit

Permalink
Expression default for quarkus.native.builder-image
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Jan 14, 2025
1 parent f2d0581 commit e6a8d2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ interface BuilderImageConfig {
* {@code quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21}.
*/
@WithParentName
@WithDefault("${platform.quarkus.native.builder-image}")
@WithDefault("${platform.quarkus.native.builder-image:mandrel}")
@ConfigDocDefault("mandrel")
String image();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ private EffectiveConfig(Builder builder) {
.withSources(new YamlConfigSourceLoader.InFileSystem())
.withSources(new YamlConfigSourceLoader.InClassPath())
.addPropertiesSources()
// todo: this is due to ApplicationModel#getPlatformProperties not being included in the effective config
.withSources(new PropertiesConfigSource(Map.of("platform.quarkus.native.builder-image", "<<ignored>>"),
"NativeConfig#builderImage", 0))
.withDefaultValues(builder.defaultProperties)
.withProfile(builder.profile)
.withMapping(PackageConfig.class)
Expand Down

0 comments on commit e6a8d2a

Please sign in to comment.