diff --git a/entrypoint.sh b/entrypoint.sh index 8f16aed..a0ef47f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,8 +10,8 @@ fi # default to latest TFSEC_VERSION="latest" -# if INPUT_TFSEC_VERSION set and not latests -if [ -n "${INPUT_TFSEC_VERSION}" && "$INPUT_TFSEC_VERSION" != "latest" ]; then +# if INPUT_TFSEC_VERSION set and not latest +if [[ -n "${INPUT_TFSEC_VERSION}" && "$INPUT_TFSEC_VERSION" != "latest" ]]; then TFSEC_VERSION="tags/${INPUT_TFSEC_VERSION}" fi