Skip to content

Commit

Permalink
Include yaml and yml extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgnavar committed Mar 21, 2024
1 parent 64d1f9d commit 8a61a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# used to count all the errors
acc=0

for file in $(find . -iname "*.yml" | grep deployment); do
for file in $(find . -iname "*yaml" -o -iname "*.yml" | grep deployment); do
# we use xargs to trim result value, otherwise it will be ' "value"'
manifest_path=$(grep "manifest_path" "$file" | cut -f2 -d ":" | xargs)
if [ "$manifest_path" != "" ]; then
Expand Down

0 comments on commit 8a61a89

Please sign in to comment.