yamllint/entrypoint.sh
2019-10-16 10:43:28 +02:00

7 lines
155 B
Bash

#!/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