mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 16:27:45 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user