Docker hub image publishing
Beanow opened this issue ยท 8 comments
Description
Automatically publishing images, ideally using the same librespeed/speedtest-go
naming allows an easy 'straight from the source' install. Some CI, like GH actions makes this pretty easy. Especially when you're already maintaining a Dockerfile.
Why it should be implemented
I believe, https://hub.docker.com/r/mickkael/librespeed-go is the closest to an "official" image being published?
It's a bit of a mess of people building their own speedtest-go/librespeed-go images.
And the mickkael/librespeed-go
one seems out of date, rocking v1.1.3, so I assume it is being pushed manually from a dev machine.
For reference a modern multi-arch GH action might look something like this. thomseddon/traefik-forward-auth#275
Let me make a GH action workflow to publish directly on this github registry. I'll get a Pull request
@mickkael any luck?
โ docker pull ghcr.io/librespeed/speedtest-go:v1.1.5
Error response from daemon: Head "https://ghcr.io/v2/librespeed/speedtest-go/manifests/v1.1.5": unauthorized
โ docker pull ghcr.io/librespeed/speedtest-go:1.1.5
Error response from daemon: Head "https://ghcr.io/v2/librespeed/speedtest-go/manifests/1.1.5": unauthorized
โ docker pull ghcr.io/librespeed/speedtest-go:latest
Error response from daemon: Head "https://ghcr.io/v2/librespeed/speedtest-go/manifests/latest": unauthorized
@onedr0p I have built it just now
https://github.com/mickkael/speedtest-go/pkgs/container/speedtest-go
Not at all.
I've built on the fork, as I don't have any permission on the main repo.
I've submitted the PR for the same action to be triggered on main repo
oh that's a bummer, I guess I'll fork it too and merge some of the PRs here into my fork until the maintainers come back to address them.