From 2e4d4f83266edaf4b747969c21a74d23c3c48427 Mon Sep 17 00:00:00 2001 From: adam kaminski Date: Tue, 30 May 2023 16:52:46 -0400 Subject: [PATCH] Update detect-images.sh Also find Containerfiles, which are more commonly used in podman deployments https://github.com/containers/common/blob/f8ddf58e269b744367c0b5efc1be8da03e075568/docs/Containerfile.5.md --- source/detect-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/detect-images.sh b/source/detect-images.sh index 8f423e9..2ce15bc 100755 --- a/source/detect-images.sh +++ b/source/detect-images.sh @@ -7,8 +7,8 @@ function detect() { tdir=$(dirname $TARGET_DIR)/$(basename $TARGET_DIR) -# iterate over all Dockerfiles and list images: -filelist=($(find ${tdir} -type f -name Dockerfile\*)) +# iterate over all Dockerfiles / Containerfiles and list images: +filelist=($(find ${tdir} -type f -name Dockerfile\* -o -name Containerfile\*)) # capture the public registry list registrylist=$(cat public_registries.conf)