Merge pull request 'Sort order was backwards' (#770) from dboreham/fix-container-age-sort into main
All checks were successful
Lint Checks / Run linter (push) Successful in 30s
Publish / Build and publish (push) Successful in 1m3s
Deploy Test / Run deploy test suite (push) Successful in 3m51s
Webapp Test / Run webapp test suite (push) Successful in 2m58s
Smoke Test / Run basic test suite (push) Successful in 4m53s
Database Test / Run database hosting test on kind/k8s (push) Successful in 7m20s

Reviewed-on: #770
This commit is contained in:
David Boreham 2024-02-27 16:01:17 +00:00
commit 01e4437b62

View File

@ -76,7 +76,7 @@ def _find_latest(candidate_tags: List[str]):
sorted_candidates = sorted(candidate_tags)
if opts.o.debug:
print(f"sorted candidates: {sorted_candidates}")
return sorted_candidates[0]
return sorted_candidates[-1]
def _filter_for_platform(container: str,