build-docker-images: ignore empty image lists

The script used to archive empty image lists under some conditions.
Avoid that.

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I7c8670ab8cb074f040aa0c8e815c012855ccb57e
changes/79/859479/1
Davlet Panech 2 months ago
parent 135e323b4d
commit 9c9ae56d9f
  1. 2
      scripts/build-docker-images.sh

@ -149,4 +149,4 @@ if [[ $failed -eq 1 ]] ; then
fi
notice "all images built successfully"
find "$lists_dir" -mindepth 1 -maxdepth 1 -name "images-*.lst"
find "$lists_dir" -mindepth 1 -maxdepth 1 -name "images-*.lst" -type f -not -empty

Loading…
Cancel
Save