jupyterhub / binderhub

Run your code in the cloud, with technology so advanced, it feels like magic!
https://binderhub.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.54k stars 388 forks source link

fix image name for docker registry health check #1663

Closed minrk closed 1 year ago

minrk commented 1 year ago

when there are multiple levels in the url path, the health check produced the wrong image name (i.e. staging/some-image-name which should have been binderhub-123/staging/some-image-name).

We already have a utility for this in builder, which does it correctly, so use it.

Needed for artifact registry URLs, which have the project name in the url prefix