btcd icon indicating copy to clipboard operation
btcd copied to clipboard

Github Docker Image non existend

Open Schnitzel opened this issue 2 years ago • 7 comments

As far as I understand https://github.com/btcsuite/btcd/blob/master/.github/workflows/dimagespub.yml this should automatically build btcd and push it into the github image registry. There is an action log from the last version push but the logs are expired: https://github.com/btcsuite/btcd/actions/runs/3369306552/job/9224795357 so I can't check what might have gone wrong.

In any case I cannot pull Images from the Github Docker Registry:

❯ docker pull ghcr.io/btcsuite/btcd
Using default tag: latest
Error response from daemon: Head "https://ghcr.io/v2/btcsuite/btcd/manifests/latest": unauthorized

❯ docker pull ghcr.io/btcsuite/btcd:v0.23.3
Error response from daemon: Head "https://ghcr.io/v2/btcsuite/btcd/manifests/v0.23.3": unauthorized

anybody has an idea if these images exist and were they are?

Schnitzel avatar Jul 29 '23 21:07 Schnitzel

unauthorized means that you need to login.

Images are published as private images, so you can't pull it by default.

Eoous avatar Jul 29 '23 22:07 Eoous

@0xEclair thanks for your reply!

Even if I'm logged in the registry though I cannot pull them:

❯ docker login ghcr.io
Username: Schnitzel
Password:
Login Succeeded

❯ docker pull ghcr.io/btcsuite/btcd:v0.23.3
Error response from daemon: denied

you mention they are pushed as private, is there any reason for that? Can we push them as public?

Schnitzel avatar Jul 31 '23 12:07 Schnitzel

It's a default rule. You can check here: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#pushing-container-images.

Eoous avatar Jul 31 '23 13:07 Eoous

@0xEclair sorry didn't phrase my question correctly. Yes the images are private by default, my question is why we don't change this to public? Is there a specific reason? Maybe we need @Roasbeef or @guggero to help with changing this to public?

Schnitzel avatar Jul 31 '23 13:07 Schnitzel

I think nobody noticed the problem. Yes, we need help to change to public.

For public images, you can check here: https://github.com/orgs/btcsuite/packages. There is no image now.

Eoous avatar Jul 31 '23 17:07 Eoous

Yep the package is private right now which wasn't the intention. Looks like the default on the org level is private, will get that switched over to public then report back here for confirmation.

Roasbeef avatar Aug 01 '23 00:08 Roasbeef

Any updates?

vniche avatar Nov 30 '23 19:11 vniche

Hi all! Found this thread, trying to find btcd docker builds. The docker hub repo that is mentioned in the documentation is non existent anymore, also here on github I could't find anything. Is the only way to get images to build them yourself?

deliarmin avatar Jun 14 '24 07:06 deliarmin

The images should now be public: https://github.com/btcsuite/btcd/pkgs/container/btcd

Roasbeef avatar Jul 03 '24 01:07 Roasbeef