]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/build-with-container: support custom tag suffixes
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 14 Feb 2025 16:44:35 +0000 (11:44 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Mar 2025 21:14:27 +0000 (16:14 -0500)
commit5d7ff135f6f44148e8a977b88cc71c8066239ac5
treeb78347bed2884a9b6613b3e0b11e303fdc10811b
parent8a3e3af0fa31fa507051d8b3b2812e67c937318c
script/build-with-container: support custom tag suffixes

Previously, one could use the `--tag` option to completely override the
container tag generated by the script. However, there are cases where
one may want to add information to the tag rather than override it.
Allow the tag value to start with a plus (+) character that indicates
that the remainder of the string is to be suffixed to the generated tag.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 30836c4ed4b9332f22b31897ce4ece0ad4da6fc0)
src/script/build-with-container.py