Update file update.py

This commit is contained in:
2023-06-08 09:51:17 +00:00
parent 304b59fad5
commit 9ba53cf787

View File

@@ -9,7 +9,7 @@ dxf = DXF('registry-1.docker.io', REPO)
dxf.authenticate(actions=["pull"]) dxf.authenticate(actions=["pull"])
tags = dxf.list_aliases() tags = dxf.list_aliases()
tags = [tag for tag in tags if re.match( tags = [tag for tag in tags if re.match(
r"^\d+\.\d+\.\d+$", tag) and int(tag.split('.')[0]) > 5] r"^\d+\.\d+\.\d+$", tag) and int(tag.split('.')[0]) > 6]
try: try:
local_dxf = DXF(environ['CI_REGISTRY'], environ['CI_PROJECT_PATH']) local_dxf = DXF(environ['CI_REGISTRY'], environ['CI_PROJECT_PATH'])