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
This commit is contained in:
Davlet Panech 2022-09-27 16:23:24 -04:00
parent 135e323b4d
commit 9c9ae56d9f
1 changed files with 1 additions and 1 deletions

View File

@ -149,4 +149,4 @@ if [[ $failed -eq 1 ]] ; then
fi fi
notice "all images built successfully" 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