diff --git a/update.py b/update.py index 080c362..efca1a3 100755 --- a/update.py +++ b/update.py @@ -6,7 +6,8 @@ from os import environ dxf = DXF('ghcr.io', "coder/coder") dxf.authenticate(actions=["pull"]) tags = dxf.list_aliases() -tags = [tag for tag in tags if re.match(r"^v\d+\.\d+\.\d+$", tag)] +tags = [tag for tag in tags if re.match( + r"^v\d+\.\d+\.\d+$", tag) and int(tag.split('.')[1]) > 22] try: