Commit 3c07b001 authored by sonicaj's avatar sonicaj

Normalize app version for upgrade strategy

parent 8e1f2a3f
...@@ -13,7 +13,7 @@ def newer_mapping(image_tags): ...@@ -13,7 +13,7 @@ def newer_mapping(image_tags):
return { return {
'tags': {key: version}, 'tags': {key: version},
'app_version': version, 'app_version': f'v{version}',
} }
......
...@@ -14,7 +14,7 @@ def newer_mapping(image_tags): ...@@ -14,7 +14,7 @@ def newer_mapping(image_tags):
return { return {
'tags': {key: tags[version]}, 'tags': {key: tags[version]},
'app_version': version, 'app_version': version.split('T')[0],
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment