strip whitespace from rendered tag
This commit is contained in:
parent
d4f88412bf
commit
ad980dbb06
4
build.py
4
build.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user