jupyterhub / repo2docker-action

A GitHub action to build data science environment images with repo2docker and push them to registries.
MIT License
142 stars 28 forks source link

issue with a binder url in a repository where docker and binder images with same naming exist #98

Open mlampros opened 1 year ago

mlampros commented 1 year ago

First of all thank you for making this repository publicly available.

In one of my Github repositories I've setup both a docker image and a binder instance using dockerfiles. I have a Github Action .yml file that first creates and pushes the docker image to the docker hub and in the last step it creates a docker image named as "icesat2rbinder" (and not as "icesat2r" which is the name of the Github repo) because the docker image initially didn't work (probably due to naming overlapping between the docker and the binder image). In the root of the directory I use 3 dockerfiles and the one named as Dockerfile is for the binder instance.

After this setup, I would expect that using the following url in the "binder badge"

https://mybinder.org/v2/gh/mlampros/icesat2r/HEAD?urlpath=rstudio

binder would pick the icesat2rbinder docker image and initialize the binder Rstudio instance, however this is not the case as I receive errors. In the last 2 days I tried also to use different urls such as

https://mybinder.org/v2/gh/mlampros/icesat2rbinder/HEAD?urlpath=rstudio

but I don't think it is correct.

I took a look also to the binderhub documentation and binder examples but none of these cover my specific case.

Is my set-up correct and will the binder-url as described previously work?

(the attached images show the logs and the error when trying to access binder)

binder_logs

binder_inaccessible

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: