2c5927a5ad
This change adds a new argument for the container image build CLI, which allows operators to inject specific labels into a build that also supports basic string replacement from user input. This feature will allow maintainers and vendors to appropriately label their container images without running any post validation or injection. Change-Id: Ia1337dcbeceed485eda14733221164529daf0856 Signed-off-by: Kevin Carter <kecarter@redhat.com>
13 lines
616 B
YAML
13 lines
616 B
YAML
---
|
|
features:
|
|
- The container image build command now has the ability to inject labels
|
|
into various images being constructed. To add labels into a container,
|
|
the argument `--label` can be specified multiple times. The value is
|
|
always a key=value pair and each key must be unique.
|
|
other:
|
|
- The container image build label agument has the ability to do simple
|
|
string replacements following the python standard. Available options
|
|
for string replacement are `registry`, `namespace`, `prefix`,
|
|
`image`, `tag`, and `name`. Example usage
|
|
`--label component="%(prefix)s-%(name)s-container"`.
|