Update 2 files

- /update.py
- /.gitlab-ci.yml
This commit is contained in:
2023-07-27 12:46:16 +00:00
parent 15350bca5e
commit be5a151443
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ build:
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
before_script:
- until docker info; do sleep 1; done
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker info
script:

View File

@@ -7,7 +7,7 @@ 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) and int(tag.split('.')[1]) > 22]
r"^v\d+\.\d+\.\d+$", tag) and int(tag.split('.')[1]) >= 27]
try: