outposts: fallback to ghcr

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-01-24 10:47:25 +01:00
parent 8aa16e66e4
commit 16076cc46f
No known key found for this signature in database

View file

@ -183,7 +183,7 @@ class DockerController(BaseController):
try:
self.client.images.pull(image)
except DockerException: # pragma: no cover
image = f"goauthentik.io/{self.outpost.type}:latest"
image = f"ghcr.io/goauthentik/{self.outpost.type}:latest"
self.client.images.pull(image)
return image