Class ContainerImageConfig
java.lang.Object
io.quarkus.container.image.deployment.ContainerImageConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionAdditional tags of the container image.Whether or not a image build will be performed.The name of the container image extension to use (e.g.The group the container image will be part ofRepresents the entire image string.booleanWhether or not insecure registries are allowedCustom labels to add to the generated image.(package private) StringThe name of the container image.The password to use to authenticate with the registry where the built image will be pushedWhether or not an image push will be performed.The container registry to useThe tag of the container image.The username to use to authenticate with the registry where the built image will be pushed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanboolean
-
Field Details
-
group
@ConfigItem @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) Optional<String> groupThe group the container image will be part of -
name
@ConfigItem(defaultValue="${quarkus.application.name:unset}") @ConvertWith(io.quarkus.runtime.configuration.TrimmedStringConverter.class) String nameThe 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
@ConfigItem public boolean insecureWhether 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.
-
-
Constructor Details
-
ContainerImageConfig
public ContainerImageConfig()
-
-
Method Details
-
isBuildExplicitlyEnabled
public boolean isBuildExplicitlyEnabled() -
isBuildExplicitlyDisabled
public boolean isBuildExplicitlyDisabled() -
isPushExplicitlyEnabled
public boolean isPushExplicitlyEnabled() -
isPushExplicitlyDisabled
public boolean isPushExplicitlyDisabled()
-