Image Configuration
The plugin’s configuration is centered around images.
These are specified for each image within the <images>
element of the configuration with one <image>
element per image to use.
The <image>
element can contain the following sub elements:
Element | Description |
---|---|
name |
Each |
customImageNameForMultiStageContainerfile |
A When set to false, but the |
Defines a list of custom image names per stage listed in a |
|
Element that contains all the configuration aspects when doing a podman:build. |
A <build>
section must be present for each image configuration.
<configuration>
...
<images>
<image>
<name>your-image-name</name>
<customImageNameForMultiStageContainerfile>true</customImageNameForMultiStageContainerfile>
<stages>...</stages>
<build>...</build>
</image>
</images>
...
</configuration>
Stage Configuration
The stages
configuration section is useful when working with multi-stage Containerfiles
.
Element | Description |
---|---|
name |
The name of the stage in a |
imageName |
The target name that the image, which was built in stage with |
<configuration>
...
<images>
<image>
<stages>
<stage>
<name>some_stage</name>
<imageName>my-fancy-image</imageName>
</stage>
</stages>
</image>
</images>
...
</configuration>