@ConfigRoot public class ContainerImageConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
build
Whether or not a image build will be performed.
|
Optional<String> |
group
The group the container image will be part of
|
boolean |
insecure
Whether or not insecure registries are allowed
|
Optional<String> |
name
The name of the container image.
|
Optional<String> |
password
The password to use to authenticate with the registry where the built image will be pushed
|
boolean |
push
Whether or not an image push will be performed.
|
Optional<String> |
registry
The container registry to use
|
Optional<String> |
tag
The tag of the container image.
|
Optional<String> |
username
The username to use to authenticate with the registry where the built image will be pushed
|
| Constructor and Description |
|---|
ContainerImageConfig() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getEffectiveGroup()
Since user.name which is default value can be uppercase and uppercase values are not allowed
in the repository part of image references, we need to make the username lowercase.
|
@ConfigItem(defaultValue="${user.name}")
public Optional<String> group
@ConfigItem(defaultValue="${quarkus.application.name:unset}")
public Optional<String> name
@ConfigItem(defaultValue="${quarkus.application.version:latest}")
public Optional<String> tag
@ConfigItem public Optional<String> username
@ConfigItem public Optional<String> password
@ConfigItem(defaultValue="false") public boolean insecure
@ConfigItem(defaultValue="false") public boolean build
@ConfigItem(defaultValue="false") public boolean push
public Optional<String> getEffectiveGroup()
Copyright © 2020 JBoss by Red Hat. All rights reserved.