Bugfix: Explicitly cast returned versions as string for comparisons
/ build (push) Successful in 41s
/ build (push) Successful in 41s
This commit is contained in:
1 parent
7d9efdbc28
commit
5c49b6ad83
3 files changed
+14
-12
No files matched your search
@@ -57,7 +57,7 @@ def find_package_version_with_tag(repo: str, tag: str) -> str:
|
||||
tag_id = data.get("id")
|
||||
if tag_id:
|
||||
logger.info(f"[DockerHub] Found tag '{tag}' for repo '{repo}', ID: {tag_id}")
|
||||
return tag_id
|
||||
return str(tag_id)
|
||||
else:
|
||||
logger.debug(f"[DockerHub] Tag '{tag}' not found for repo '{repo}'")
|
||||
return None
|
||||
|
||||
Reference in new issue
Block a user