hub-feedback icon indicating copy to clipboard operation
hub-feedback copied to clipboard

How to reference GitHub repository on a DockerHub repository?

Open David-Lor opened this issue 4 years ago • 19 comments
trafficstars

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?

David-Lor avatar Aug 25 '21 14:08 David-Lor

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.

mikeparker avatar Aug 25 '21 14:08 mikeparker

@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

David-Lor avatar Aug 26 '21 09:08 David-Lor

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.

github-actions[bot] avatar Feb 23 '22 00:02 github-actions[bot]

up

David-Lor avatar Feb 23 '22 08:02 David-Lor

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.

filviu avatar Jun 15 '22 14:06 filviu

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.

dpprdan avatar Jul 05 '22 14:07 dpprdan

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.

sepulzera avatar Jul 13 '22 06:07 sepulzera

+1 for linking public images to the source repos

semaja2 avatar Sep 26 '22 09:09 semaja2

+1

yikyo avatar Jan 23 '23 03:01 yikyo

+1

d4kine avatar Feb 10 '23 11:02 d4kine

+1

anirban37 avatar Apr 04 '23 18:04 anirban37

+1

hanseartic avatar May 29 '23 20:05 hanseartic

+1

MerliX avatar Aug 03 '23 14:08 MerliX

+1

derlin avatar Aug 29 '23 13:08 derlin

+1

nazmang avatar Sep 15 '23 07:09 nazmang

+1

borrougagnou avatar Nov 29 '23 11:11 borrougagnou

+1

Anarchotect avatar Jan 29 '24 15:01 Anarchotect

@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.

dpprdan avatar Jan 29 '24 16:01 dpprdan

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

borrougagnou avatar Feb 15 '24 22:02 borrougagnou