Skip to content

Commit feceebc

Browse files
committed
ci: stop publishing latest tag
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
1 parent 91572b8 commit feceebc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/docker-push-variables/push_vars.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
]
4545
if not prerelease:
4646
image_tags += [
47-
f"{name}:latest",
4847
f"{name}:{version_family}",
4948
]
5049
else:

authentik/outposts/controllers/docker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from structlog.stdlib import get_logger
1414
from yaml import safe_dump
1515

16+
from authentik import __version__
1617
from authentik.outposts.apps import MANAGED_OUTPOST
1718
from authentik.outposts.controllers.base import BaseClient, BaseController, ControllerException
1819
from authentik.outposts.docker_ssh import DockerInlineSSH, SSHManagedExternallyException
@@ -184,7 +185,7 @@ def try_pull_image(self):
184185
try:
185186
self.client.images.pull(image)
186187
except DockerException: # pragma: no cover
187-
image = f"ghcr.io/goauthentik/{self.outpost.type}:latest"
188+
image = f"ghcr.io/goauthentik/{self.outpost.type}:{__version__}"
188189
self.client.images.pull(image)
189190
return image
190191

0 commit comments

Comments
 (0)