diff --git a/.github/scripts/images-to-build.sh b/.github/scripts/images-to-build.sh index f91f08a16..8f07f0067 100755 --- a/.github/scripts/images-to-build.sh +++ b/.github/scripts/images-to-build.sh @@ -44,6 +44,9 @@ for DIR in modules/*/*/ */; do continue fi + # Extract just the final directory name (e.g., "module_example") from the full path + DIR=$(basename "$DIR") + # Build all images on develop branch if [[ "$GITHUB_REF" == "refs/heads/develop" ]]; then DIRS+=("$DIR")