Passing fingerprint for ssh to Docker build

Hi, I’m doing a CircleCI build that looks like this. We use a secondary repository, which is why we have the fingerprint ssh added

     - add_ssh_keys:
          fingerprints:
            - "11:44:c4:79:bf:eb:81:ff:af:f3:89:e7:f9:e0:5a:b4"
      - go_junit (uses the fingerprint for ssh)
      - load_env
      - setup_remote_docker:
          version: 19.03.12
      - aws-ecr/build-and-push-image:
          {arguments for this}

During the “Build Docker Image” step of aws-ecr/build-and-push-image, the job fails while trying to access the secondary repo, with error “Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.”

My question is, how can we pass on the fingerprint for SSH to the docker build?