1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/hack/tf-lint.sh
Steve Milner c234fc3f95 *: use podman instead of docker
Signed-off-by: Steve Milner <smilner@redhat.com>
2018-09-11 15:19:08 -07:00

12 lines
217 B
Bash
Executable File

#!/bin/sh
if [ "$IS_CONTAINER" != "" ]; then
tflint
else
podman run --rm \
--env IS_CONTAINER=TRUE \
--volume "${PWD}:/data:z" \
--entrypoint sh \
quay.io/coreos/tflint \
./hack/tf-lint.sh
fi;