Merge pull request 'Sort order was backwards' (#770) from dboreham/fix-container-age-sort into main
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/770dboreham/mobymask-v3-demo-test^2 v1.1.0-01e4437-202402271607
commit
01e4437b62
|
|
@ -76,7 +76,7 @@ def _find_latest(candidate_tags: List[str]):
|
||||||
sorted_candidates = sorted(candidate_tags)
|
sorted_candidates = sorted(candidate_tags)
|
||||||
if opts.o.debug:
|
if opts.o.debug:
|
||||||
print(f"sorted candidates: {sorted_candidates}")
|
print(f"sorted candidates: {sorted_candidates}")
|
||||||
return sorted_candidates[0]
|
return sorted_candidates[-1]
|
||||||
|
|
||||||
|
|
||||||
def _filter_for_platform(container: str,
|
def _filter_for_platform(container: str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue