fix docker-in-docker copying when not doing CONTINUE=1
This commit is contained in:
parent
732a87415d
commit
52c6748e67
|
@ -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/"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user