diff --git a/entrypoint.sh b/entrypoint.sh index 5ab8256..938497a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,8 +13,8 @@ if ! [[ "$INPUT_POSTGRESQL_VERSION" =~ ^[0-9]+$ ]]; then fi # Check if the input is between 11 and 16 (inclusive) -if (( INPUT_POSTGRESQL_VERSION < 11 || INPUT_POSTGRESQL_VERSION > 16 )); then - echo "Error: $INPUT_POSTGRESQL_VERSION is not between 11 and 16 (inclusive)." +if (( INPUT_POSTGRESQL_VERSION < 12 || INPUT_POSTGRESQL_VERSION > 16 )); then + echo "Error: $INPUT_POSTGRESQL_VERSION is not between 12 and 16 (inclusive)." exit 1 fi