wsproxy icon indicating copy to clipboard operation
wsproxy copied to clipboard

Please publish Docker image to Dockerhub

Open mingfang opened this issue 3 years ago • 1 comments

I'm unable to pull the image

docker pull ghcr.io/neondatabase/wsproxy:latest
Error response from daemon: Head "https://ghcr.io/v2/neondatabase/wsproxy/manifests/latest": unauthorized

Please publish this image.

mingfang avatar Jan 29 '23 15:01 mingfang

The ghcr.io image was private, we fixed that. Now you'll need to log in to GitHub Container Registry before you're able to pull the image. Here is an instruction on how to do that: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-with-a-personal-access-token-classic

  1. Create github token at https://github.com/settings/tokens?type=beta
  2. Login to the registry and pull the image
$ export CR_PAT=YOUR_TOKEN
$ echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
> Login Succeeded

$ docker pull ghcr.io/neondatabase/wsproxy:latest
> latest: Pulling from neondatabase/wsproxy
> c158987b0551: Already exists 
> d6c64aaec737: Pull complete 
> 1666dffa2867: Pull complete 
> Digest: sha256:504c8ea771b4eb4e5275b006812bd0d0d9b563172ecc12f0114249a90b0509b4
> Status: Downloaded newer image for ghcr.io/neondatabase/wsproxy:latest
> ghcr.io/neondatabase/wsproxy:latest

petuhovskiy avatar Feb 07 '23 19:02 petuhovskiy