This trait requires the following traits to be declared:
Declaring jobs will create or update draft-release-notes that will automatically be collected for diff --git a/traits/publish.html b/traits/publish.html index 4b1669fe2..35fe90edb 100644 --- a/traits/publish.html +++ b/traits/publish.html @@ -173,7 +173,7 @@
no
None
str
name of the registry config to use when pushing the image (see cc-utils).
name of the registry config to use when pushing the image.
image
yes
str
image reference to publish the created container image to.
inputs
extra_push_targets
no
[]
+
list
additional targets to publish built images to. Entries _may_ contain a tag (which is
+honoured, if present). Entries without a tag will use the same tag as the “main” image
+(defined by image
attribute).
+only supported for docker or docker-buildx OCI-Builder.
inputs
no
repos: null
steps: {}
@@ -191,7 +203,7 @@ dockerimages.<user-chosen> (PublishDockerImageDescriptor) Att
dict
configures the inputs that are made available to image build
prebuild_hook
prebuild_hook
no
None
str
tag_as_latest
tag_as_latest
no
False
bool
whether or not published container images should also be labeled as latest
tag_template
tag_template
no
${EFFECTIVE_VERSION}
str
the template to use for the image-tag (only variable: EFFECTIVE_VERSION)
dockerfile
dockerfile
no
Dockerfile
str
the file to use for building the container image
dir
dir
no
None
str
the relative path to the container image build file
target
target
no
None
str
only for multistage builds: the target up to which to build
resource_labels
resource_labels
no
[]
List[Label]
labels to add to the resource declaration for this image in base-component-descriptor
build_args
build_args
no
{}
Dict[str, str]
build-time arguments to pass to docker-build
platforms
platforms
no
None
list
This trait requires the following traits to be declared:
This trait add release job semantics to the declaring build job.