docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
232 stars 40 forks source link

How to reference GitHub repository on a DockerHub repository? #2138

Open David-Lor opened 3 years ago

David-Lor commented 3 years ago

DockerHub repositories that have, or had in the past, a GitHub repository associated to them so that DockerHub could automatically trigger builds when any push on the GitHub repository happens, automatically embed a "Source Repository" section, under the "Docker Pull Command" and "Owner" sections, on the right side of a image repository page.

For example, this repository of mine includes the mentioned reference: https://hub.docker.com/r/davidlor/ssh-port-forward-client

However, when no GitHub repository is associated for automated builds (which is currently not available for the dockerhub Free tier), it seems like there's no way to link the GitHub repository in any other manner, isn't it?

mikeparker commented 3 years ago

Yes you're right, this is a confusing gap in functionality. We kept all the existing GitHub integrations when we turned off free Autobuilds, so if users upgrade to a paid account, their builds will start working again. However, this means free users will see the GitHub link without the means of removing it. Right now there is no way for a free user to add a github integration purely for the purposes of automating the readme update or linking to the source code.

We're figuring out the future of the GitHub integration whilst we continue to help migrate users across to a paid account. If you have thoughts about improving the GitHub integration longer term and what features might be helpful, please feel free to let us know.

David-Lor commented 3 years ago

@mikeparker Thank you for the clarification. I guess it could be nice to still have a Github Integration setting on Dockerhub repositories on Free tier accounts, that is limited to just showing a link to the repository in that place (and auto-updating the README could also be nice). The building can nowadays easily be done using Github Actions :D

github-actions[bot] commented 2 years ago

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

David-Lor commented 2 years ago

up

filviu commented 2 years ago

I just started hosting some open source projects and I searched half an hour on how to set it. Never crossed my mind that you have to pay to link it.

dpprdan commented 2 years ago

We kept all the existing GitHub integrations when we turned off free Autobuilds, so if users upgrade to a paid account, their builds will start working again.

@mikeparker I see why you would do that as a convenience feature, but please note that it is also possible that the GitHub repo (URL) changes in the meantime and there is no way of updating it at the moment. See e.g. https://hub.docker.com/r/rocker/cuda which is now built from https://github.com/rocker-org/rocker-versioned2 but still (wrongly) links to https://github.com/rocker-org/ml as the Source Repo.

sepulzera commented 2 years ago

I just started hosting some open source projects and I searched half an hour on how to set it. Never crossed my mind that you have to pay to link it.

This. +1 Please let free accounts manage links to the source repo.

semaja2 commented 1 year ago

+1 for linking public images to the source repos

yikyo commented 1 year ago

+1

d4kine commented 1 year ago

+1

anirban37 commented 1 year ago

+1

hanseartic commented 1 year ago

+1

MerliX commented 1 year ago

+1

derlin commented 1 year ago

+1

nazmang commented 11 months ago

+1

borrougagnou commented 9 months ago

+1

Anarchotect commented 7 months ago

+1

dpprdan commented 7 months ago

@sepulzera, @semaja2, @yikyo, @d4kine, @anirban37, @hanseartic, @MerliX, @derlin, @nazmang, @borrougagnou, @Anarchotect, y'all are probably not aware, but a "+1" comment notifies all subscribers without adding any meaningful content to the discussion. This is a distraction for all involved and does not speed up the resolution of the issue in any way, so please don't do this.

Instead it's best practice to leave a 👍🏻 on the original post to show your support.

borrougagnou commented 6 months ago

The way how github works shows just how useless the reaction system is.

An issue comment is more visible than a useless thumbsup react smiley