fix: remove old tags
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user