maputnik icon indicating copy to clipboard operation
maputnik copied to clipboard

Provide docker images for releases on dockerhub

Open pathmapper opened this issue 6 years ago • 23 comments

Currently, there are no docker images tagged with release numbers on dockerhub: https://hub.docker.com/r/maputnik/editor/builds

This could lead to confusion, like in https://github.com/maputnik/editor/issues/487.

Also it would be useful to have tagged release images available.

pathmapper avatar Jan 29 '19 12:01 pathmapper

@orangemug do you have access to the Maputnik Docker Hub account?

pathmapper avatar Feb 06 '19 16:02 pathmapper

@pathmapper no I don't. Pinging @lukasmartinelli

orangemug avatar Feb 07 '19 13:02 orangemug

@lukasmartinelli any update here?

pathmapper avatar Jul 02 '19 09:07 pathmapper

From https://github.com/maputnik/editor/issues/679#issuecomment-622979681:

since we haven't got access to the dockerhub account we can just publish to GitHub packages instead

pathmapper avatar May 02 '20 17:05 pathmapper

So we publish docker images from master now, I guess we should also publish tags.

One thing to note is that you need to login to github docker pre-pull, which is a bit of a PITA

docker login docker.pkg.github.com --username $GH_USERNAME

Maybe we should think again about pushing to docker hub thoughts?

orangemug avatar Jun 01 '20 15:06 orangemug

The maputnik repository on Docker Hub is owned by maputnik which is a "community organization". It is possible to add members to the owners team of an organization on Docker Hub.

@orangemug and @pathmapper, Could see if maputnik appears on your list of Docker Hub organizations?

If not, I suggest you contact Docker Hub support, describe the situation and ask them to add you as "members of the owners team of maputnik" on Docker Hub.

If needed, Docker Hub support team can verify your "member of Maputnik" status on Github's maputnik people page

image

zstadler avatar Jun 01 '20 16:06 zstadler

Thanks @zstadler. I didn't realise it worked like that, I'll take a look tomorrow around the docker hub UI

orangemug avatar Jun 01 '20 17:06 orangemug

@zstadler no access unfortunately.

@lukasmartinelli could orangemug to the maputnik org?

orangemug avatar Jun 03 '20 07:06 orangemug

you need to login to github docker pre-pull, which is a bit of a PITA

Oh, that's surprising and unusable like this, here is the thread: https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358

Yep, let's try to get it done with docker hub.

Thanks @zstadler, I'm also having no access there. I've contacted the docker support as suggested. If they add me to the members of the owners team of maputnik, I should be also able to add @orangemug then.

pathmapper avatar Jun 04 '20 10:06 pathmapper

@pathmapper and @orangemug

I'd like to repeat my suggestion that you use this page to contact Docker Hub support directly, describe the situation and ask them to add both of you as "members of the owners team of maputnik" on Docker Hub.

zstadler avatar Jun 21 '20 13:06 zstadler

@zstadler I've already contacted the Docker Hub support directly using the form on that page on June 4th, see https://github.com/maputnik/editor/issues/489#issuecomment-638775446:

I've contacted the docker support as suggested.

Until now I've only got an automatic response which says:

Your request has been received and is being reviewed by our support staff.

pathmapper avatar Jun 27 '20 05:06 pathmapper

@pathmapper, I've missed that statement, sorry.

zstadler avatar Jun 27 '20 05:06 zstadler

No worries @zstadler, I'll keep you updated if there is any response from the Docker Hub support.

pathmapper avatar Jun 27 '20 13:06 pathmapper

Just a short update:

I've contacted the Docker support on June, 30th regarding the status of my original request (June, 4th). But until now there's no response. Just sent another email to them.

So there's no reaction from Docker support since more than 6 weeks. We should again try to find one of the current members of the owners team of Maputnik at Dockerhub and ask to add @orangemug and/or @pathmapper .

@lukasmartinelli @klokan do you have access to https://hub.docker.com/u/maputnik?

pathmapper avatar Jul 21 '20 18:07 pathmapper

@orangemug I added you.

image

lukasmartinelli avatar Jul 21 '20 20:07 lukasmartinelli

image @pathmapper what's your username on DockerHub?

lukasmartinelli avatar Jul 21 '20 20:07 lukasmartinelli

@pathmapper what's your username on DockerHub?

It's pathmapper, thanks a lot @lukasmartinelli !

pathmapper avatar Jul 21 '20 20:07 pathmapper

I've deleted not needed tags from DockerHub and manually uploaded images for the last three releases: https://hub.docker.com/r/maputnik/editor/tags

@orangemug I think you should have the permissions to set up automated builds for release tags: https://docs.docker.com/docker-hub/builds/link-source/ https://hub.docker.com/repository/docker/maputnik/editor/builds/edit

(I'm member of the Maputnik owners team at DockerHub but can't choose the GitHub Maputnik org as source for automatic builds)

pathmapper avatar Jul 22 '20 03:07 pathmapper

Thank you @lukasmartinelli !

zstadler avatar Jul 22 '20 05:07 zstadler

Thanks @lukasmartinelli

orangemug avatar Jul 22 '20 09:07 orangemug

@orangemug, @pathmapper Isn't this issue resolved already?

zstadler avatar Jan 18 '21 07:01 zstadler

Isn't this issue resolved already?

@zstadler for the current releases, yes. But we should set up automated builds for release tags so we don't have to upload them manually all the time.

pathmapper avatar Jan 19 '21 18:01 pathmapper

@pathmapper,

Perhaps these could help:

https://docs.docker.com/ci-cd/github-actions/

https://dev.to/ivandotv/automate-publishing-of-your-github-repository-to-docker-hub-5872

zstadler avatar Jan 19 '21 18:01 zstadler

Docker image is now published to github container repository (ghcr), not sure it's worth the trouble of contacting dockerhub. It is also in the readme of the repo so people can use the image. Feel free to open a new issue if this is still a problem.

HarelM avatar Feb 04 '24 11:02 HarelM