From 2ba59b4f9573a54ece5d29bbde5c6bade5ea7bf7 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 21 Oct 2024 16:00:49 +0200 Subject: [PATCH] build: build in reverse order of versions (#506) Signed-off-by: Marc 'risson' Schmitt --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index e4b25a5..71b83ff 100755 --- a/build.py +++ b/build.py @@ -92,7 +92,7 @@ def main(push_tags=False, multiarch=False): if push_tags: login() - for version, buildinfo in builddata.items(): + for version, buildinfo in sorted(builddata.items(), key=lambda item: item[0], reverse=True): sha256 = buildinfo["sha256"] tags = buildinfo["tags"] build_and_push(sha256, version, tags, push_tags, multiarch)