From c4652f47f5de111e8c3f022355b6a45f61e6c31b Mon Sep 17 00:00:00 2001 From: Mario Konrad Date: Wed, 24 Mar 2021 14:13:03 +0100 Subject: [PATCH] Build: docker builds sorted according to docker ID --- bin/test-buildall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/test-buildall b/bin/test-buildall index 98ba6667..6f6ff984 100755 --- a/bin/test-buildall +++ b/bin/test-buildall @@ -49,9 +49,8 @@ function build_with_docker() name=marnav account=mariokonrad/ - for di in $(docker images -q ${account}${name}) ; do + for dockerid in $(docker images ${account}${name} | grep -Ev "REPOSITORY" | sed -E 's/^([^[:space:]]+)\s+([^[:space:]]+)\s+.*$/\1:\2/' | sort -Vur) ; do for build_type in Debug Release ; do - dockerid=$(docker inspect --format='{{index .RepoTags 0}}' $di) cfg=$(echo "${dockerid}_${build_type}" | tr '/:' '__') echo -n "target: ${cfg} " -- 2.11.4.GIT