Pushing multi platform image into public ecr repo with aws-ecr orb

I am using the aws-ecr@8.1.2 to build and push images to a public repository.

In case of Docker Buildx, more than two values can be set as the argument for the platform option, why is the the orb limited to one here? (Is it right what I understood, though?)

if [ "${PARAM_PUBLIC_REGISTRY}" == "1" ]; then
    if [ "$arch_count" -gt 1 ]; then
        echo "AWS ECR does not support multiple platforms for public registries. Please specify only one platform and try again"
        exit 1
     fi

    ECR_COMMAND="ecr-public"
    PARAM_ACCOUNT_URL="public.ecr.aws/${!PARAM_REGISTRY_ID}"
fi

Below is the psuedo code of the job of config I am using.

      - aws-ecr/build-and-push-image:
          tag: latest
          repo: repo_name
          dockerfile: Dockerfile
          public-registry: true
          setup-remote-docker: true
          remote-docker-layer-caching: true
          remote-docker-version: 20.10.11
          platform: linux/amd64,linux/arm64