diff --git a/.github/templates/docker_context/docker_context.sh b/.github/templates/docker_context/docker_context.sh index aef164e0..295eb3bb 100755 --- a/.github/templates/docker_context/docker_context.sh +++ b/.github/templates/docker_context/docker_context.sh @@ -7,6 +7,7 @@ set -e # Find docker compose files in 'modules' directory modules=$(find modules -maxdepth 1 -name "docker-compose*") +modules_modified=false # Initialize an empty array for JSON objects json_objects=() @@ -21,6 +22,7 @@ while read -r module; do # Only work with modules that are modified if [[ $1 = *$module_out* ]]; then echo "$module_out modified" + modules_modified=true else echo "$module_out not changed" continue diff --git a/src/action/test.txt b/src/action/test.txt index bf0d87ab..7813681f 100644 --- a/src/action/test.txt +++ b/src/action/test.txt @@ -1 +1 @@ -4 \ No newline at end of file +5 \ No newline at end of file