strip whitespace from rendered tag

This commit is contained in:
Александр Степченко 2024-11-06 19:51:40 +03:00
parent d4f88412bf
commit ad980dbb06

View File

@ -118,7 +118,9 @@ class Tags:
version = api_get_source_package_version(branch, package_name)
if image.version_template is not None:
version = Template(image.version_template).render(version=version)
version = (
Template(image.version_template).render(version=version).strip()
)
tags = [version]
else: