diff --git a/entrypoint.sh b/entrypoint.sh index 0392993..7a98824 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,7 +4,7 @@ set -x TFSEC_VERSION="latest" if [ "$INPUT_VERSION" != "latest" ]; then - TFSEC_VERSION="tags/${INPUT_TFSEC_VERSION}" + TFSEC_VERSION="tags/${INPUT_VERSION}" fi wget -O - -q "$(wget -q https://api.github.com/repos/aquasecurity/tfsec/releases/${TFSEC_VERSION} -O - | grep -o -E "https://.+?tfsec-linux-amd64" | head -n1)" > tfsec