From 64cec163b348ae17db4b36b00cedcc6817e40d61 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 27 Feb 2024 09:00:36 -0700 Subject: [PATCH] Sort order was backwards --- stack_orchestrator/build/fetch_containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/build/fetch_containers.py b/stack_orchestrator/build/fetch_containers.py index aeaf4d51..ed7d3675 100644 --- a/stack_orchestrator/build/fetch_containers.py +++ b/stack_orchestrator/build/fetch_containers.py @@ -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,