File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -829,9 +829,9 @@ def get_build_url(self, tag: str) -> str:
829829 _ , container_name = self .image .split ("/" )
830830 match self .image :
831831 case _ if "lspipepr" in self .image :
832- return f"https://hub.docker.com/r /lspipepr/ { container_name } /tags?page=1&name= { tag } "
832+ return f"https://ghcr.io/linuxserver /lspipepr- { container_name } : { tag } "
833833 case _ if "lsiodev" in self .image :
834- return f"https://hub.docker.com/r /lsiodev/ { container_name } /tags?page=1&name= { tag } "
834+ return f"https://ghcr.io/linuxserver /lsiodev- { container_name } : { tag } "
835835 case _ if "lsiobase" in self .image :
836836 return f"https://ghcr.io/linuxserver/baseimage-{ container_name } :{ tag } "
837837 case _:
Original file line number Diff line number Diff line change @@ -228,9 +228,9 @@ def test_get_build_url(ci: CI) -> None:
228228 tag = "amd64-nightly-5.10.1.9109-ls85"
229229 assert ci .get_build_url (tag ) == f"https://ghcr.io/{ ci .image } :{ tag } "
230230 ci .image = "lsiodev/plex"
231- assert ci .get_build_url (tag ) == f"https://hub.docker.com/r /lsiodev/ plex/tags?page=1&name= { tag } "
231+ assert ci .get_build_url (tag ) == f"https://ghcr.io/linuxserver /lsiodev- plex: { tag } "
232232 ci .image = "lspipepr/plex"
233- assert ci .get_build_url (tag ) == f"https://hub.docker.com/r /lspipepr/ plex/tags?page=1&name= { tag } "
233+ assert ci .get_build_url (tag ) == f"https://ghcr.io/linuxserver /lspipepr- plex: { tag } "
234234 ci .image = "lsiobase/ubuntu"
235235 assert ci .get_build_url (tag ) == f"https://ghcr.io/linuxserver/baseimage-ubuntu:{ tag } "
236236
You can’t perform that action at this time.
0 commit comments