]> git.apps.os.sepia.ceph.com Git - ceph.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:13:16 +0000 (16:13 -0500)
commitb63aeb861e112fe43e3c32850dac1d522c481902
tree3dd2f3eb3df034cfd41a7186963c200d51bd899f
parent5e81f758ef66f333543203e6ceec4ef9e1cbcb8b
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