Interface ContainerImageConfig
@ConfigRoot
@ConfigMapping(prefix="quarkus.container-image")
public interface ContainerImageConfig
-
Method Summary
Modifier and TypeMethodDescriptionAdditional tags of the container image.build()Whether or not a image build will be performed.builder()The name of the container image extension to use (e.g. docker, podman, jib, s2i).group()The group the container image will be part ofimage()Represents the entire image string.booleaninsecure()Whether or not insecure registries are alloweddefault booleandefault booleandefault booleandefault booleanlabels()Custom labels to add to the generated image.@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Stringname()The name of the container image.password()The password to use to authenticate with the registry where the built image will be pushedpush()Whether or not an image push will be performed.registry()The container registry to usetag()The tag of the container image.username()The username to use to authenticate with the registry where the built image will be pushed
-
Method Details
-
group
Optional<@WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String> group()The group the container image will be part of -
name
@WithDefault("${quarkus.application.name:unset}") @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) @WithConverter(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String name()The name of the container image. If not set defaults to the application name -
tag
The tag of the container image. If not set defaults to the application version -
additionalTags
Additional tags of the container image. -
labels
Custom labels to add to the generated image. -
registry
The container registry to use -
image
Represents the entire image string. If set, thengroup,name,registry,tags,additionalTagsare ignored -
username
The username to use to authenticate with the registry where the built image will be pushed -
password
The password to use to authenticate with the registry where the built image will be pushed -
insecure
@WithDefault("false") boolean insecure()Whether or not insecure registries are allowed -
build
Whether or not a image build will be performed. -
push
Whether or not an image push will be performed. -
builder
The name of the container image extension to use (e.g. docker, podman, jib, s2i). The option will be used in case multiple extensions are present. -
isBuildExplicitlyEnabled
default boolean isBuildExplicitlyEnabled() -
isBuildExplicitlyDisabled
default boolean isBuildExplicitlyDisabled() -
isPushExplicitlyEnabled
default boolean isPushExplicitlyEnabled() -
isPushExplicitlyDisabled
default boolean isPushExplicitlyDisabled()
-