yamllint/entrypoint.sh

8 lines
155 B
Bash
Raw Normal View History

2019-10-16 10:43:28 +02:00
#!/bin/sh -l
if [ ! -z $INPUT_STRICT ]; then
STRICT="-s"
fi
yamllint $INPUT_CONFIG_FILE $INPUT_CONFIG_DATA $INPUT_FORMAT $STRICT $INPUT_FILE_OR_DIR