Fix --order-by-date flag not working when getting images list
This commit is contained in:
@@ -797,6 +797,9 @@ def main_loop(args):
|
|||||||
print(" no tags!")
|
print(" no tags!")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if args.order_by_date:
|
||||||
|
tags_list = get_ordered_tags(registry, image_name, all_tags_list, args.order_by_date)
|
||||||
|
else:
|
||||||
tags_list = get_tags(all_tags_list, image_name, args.tags_like)
|
tags_list = get_tags(all_tags_list, image_name, args.tags_like)
|
||||||
|
|
||||||
# print(tags and optionally layers
|
# print(tags and optionally layers
|
||||||
|
|||||||
Reference in New Issue
Block a user