Fix timestamp in docker build (#1049)

* update flow name

* fix

* fix

* update docker builder

* lint

* fix build

* fix cpu build

* fix ts
This commit is contained in:
tastelikefeet
2024-10-24 14:04:10 +08:00
committed by GitHub
parent acc60bab1c
commit ae98067485

View File

@@ -6,7 +6,7 @@ from typing import Any
docker_registry = os.environ['DOCKER_REGISTRY']
assert docker_registry, 'You must pass a valid DOCKER_REGISTRY'
timestamp = datetime.now()
formatted_time = timestamp.strftime('%Y-%m-%d-%H:%M:%S')
formatted_time = timestamp.strftime('%Y%m%d%H%M%S')
class Builder: