Pulling Images from Github Container Registry


I’m trying to create a space from docker image. The image is hosted on github registry. Is there a way to authenticate to ghcr?

Facing this issue:
===== Build Queued at 2023-07-21 16:14:10 / Commit SHA: 3056bdd =====

→ ERROR: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized

Thanks for help.