fix docker-in-docker copying when not doing CONTINUE=1

This commit is contained in:
Claus Strasburger 2017-09-21 15:19:29 +02:00 committed by XECDesign
parent 732a87415d
commit 52c6748e67

View file

@ -71,10 +71,10 @@ else
cd /pi-gen; ./build.sh && cd /pi-gen; ./build.sh &&
rsync -av work/*/build.log deploy/" & rsync -av work/*/build.log deploy/" &
wait "$!" wait "$!"
$DOCKER rm -v $CONTAINER_NAME
fi fi
echo "copying results from deploy/" echo "copying results from deploy/"
$DOCKER cp "${CONTAINER_NAME}":/pi-gen/deploy . $DOCKER cp "${CONTAINER_NAME}":/pi-gen/deploy .
ls -lah deploy ls -lah deploy
$DOCKER rm -v $CONTAINER_NAME
echo "Done! Your image(s) should be in deploy/" echo "Done! Your image(s) should be in deploy/"