bf43f5bb8c
This adds an option to the upload-docker-image role so that a job can be written to run build-docker-image and upload-docker-image in a release pipeline. This lets users build tagged docker images from release tags rather than using the promote pipeline (which may have built the image before a release git tag was applied). Change-Id: Id28d0a85e02e56640911c44ddbfff7b38547b0b4
14 lines
473 B
ReStructuredText
14 lines
473 B
ReStructuredText
Upload one or more docker images.
|
|
|
|
.. include:: ../../roles/build-docker-image/common.rst
|
|
|
|
.. zuul:rolevar:: upload_docker_image_promote
|
|
:type: bool
|
|
:default: true
|
|
|
|
If ``true`` (the default), then this role will upload the image(s)
|
|
to Docker Hub with special tags designed for use by the
|
|
:zuul:role:`promote-docker-image` role. Set to ``false`` to use
|
|
this role to directly upload images with the final tag (e.g., as
|
|
part of an un-gated release job).
|