From 9c9ae56d9fecf00cd4e98fdc4f984fbd098d70b5 Mon Sep 17 00:00:00 2001 From: Davlet Panech Date: Tue, 27 Sep 2022 16:23:24 -0400 Subject: [PATCH] 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 Change-Id: I7c8670ab8cb074f040aa0c8e815c012855ccb57e --- scripts/build-docker-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-docker-images.sh b/scripts/build-docker-images.sh index 56d4e8a..1c0e1a6 100755 --- a/scripts/build-docker-images.sh +++ b/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