From 4b45ea78f7ecbced889fc08fd995e8afcca1f2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Mon, 11 Nov 2024 16:59:52 +0100 Subject: [PATCH] Use the full container version for build_version --- src/bci_build/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bci_build/registry.py b/src/bci_build/registry.py index f2aa54e0d..cbfb4d40a 100644 --- a/src/bci_build/registry.py +++ b/src/bci_build/registry.py @@ -49,7 +49,7 @@ def registry_prefix(*, is_application: bool) -> str: @staticmethod def build_version(base_version, container: "BaseContainerImage") -> str: """Return the build version to set for this container build.""" - container_version: str = container.tag_version + container_version = container.version # if container_version is a numeric version and not a macro, then # version.parse() returns a `Version` object => then we concatenate # it with the existing build_version