But after that the steps in GHCR docs dont share the requirement to use any custom arguments while pulling images from the GHCR repo.
Which makes it seem like either something is missing in unrealengine container docs or maybe the access levels (scopes) required for the PAT as per GHCR docs might be mismatching from the one that has been shared with me; will check and confirm that the access levels (scopes) recommended by GHCR are provided to the PAT used by me or not just to clear my internal doubts.
Regards.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Editing the reply because unrealengine forum does not allow new users to reply more than 3 times to a thread for their own reasons
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Hey Guys; the issue resolved for me.
The issue was that there had been an oversight in providing the required scopes to the PAT that we need to create on github side as per the GHCR docs you need to add “write:packages
” scope to the PAT that you are creating. In actuality “read:packages
” would be just fine to download the container images but “write:packages
” provides required necessary access to the source code repo as well which will be required for the build process to download the source code during the build process.
All I had to do was enable the “write:packages
” in my scopes to the PAT of my github account :
and then just reran :
$ export CR_PAT=YOUR_TOKEN
and
$ echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
> Login Succeeded
and then the
docker pull ghcr.io/epicgames/pixel-streaming-signalling-server:4.27
works just fine.
Regards.