Skip to content

Commit

Permalink
Use the full container version for build_version
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Nov 11, 2024
1 parent 44da9ff commit 4b45ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bci_build/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b45ea7

Please sign in to comment.