Update check_yaml_name.yml (#341)
This commit is contained in:
parent
13f5ddaa94
commit
98942c0b4f
|
@ -19,6 +19,7 @@ jobs:
|
|||
find . -type f \( -name "docker-compose.yaml" -or -name "docker-compose.yml" \) | while read -r file; do
|
||||
if ! grep -qP '^name:\s[a-z0-9_-]*$' "$file"; then
|
||||
echo "There is a problem with the value of name in the submitted yaml, please make sure the value is in the range [a-z0-9_-]. And error file name:$file"
|
||||
cat $file
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue