Merge pull request #94 from m0rtez4/master

Fix --order-by-date flag not working when trying to get images list
This commit is contained in:
Ivan Pavlushin
2020-10-25 22:45:37 +01:00
committed by GitHub

View File

@@ -797,6 +797,9 @@ def main_loop(args):
print(" no tags!")
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)
# print(tags and optionally layers