From a3884552f3373158983c1bc7ddf5a6d2d3192186 Mon Sep 17 00:00:00 2001 From: James Westby Date: Thu, 8 Sep 2016 10:16:42 +0100 Subject: [PATCH] Don't tag until tested. --- buildall | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildall b/buildall index d6eda98..04d35d1 100755 --- a/buildall +++ b/buildall @@ -19,11 +19,12 @@ for DIST in $DISTS; do echo "Building $BASENAME:$DIST" echo "============================================" ./mkimage build/$DIST.tar $DIST - docker import --change "CMD /bin/bash" build/$DIST.tar $BASENAME:$DIST + IMPORTED=$(docker import --change "CMD /bin/bash" build/$DIST.tar) echo "============================================" echo "Running tests for $BASENAME:$DIST" echo "============================================" - ./test $BASENAME:$DIST + ./test $IMPORTED + docker tag $IMPORTED $BASENAME:$DIST echo "============================================" echo "Building $NAMINAME:$DIST" echo "============================================"