mirror of
https://github.com/goharbor/harbor
synced 2025-04-16 00:35:52 +00:00

Build base image step should be in build package workflow, and local base images build by new step should be removed since images have been pushed to docker hub. Signed-off-by: danfengliu <danfengl@vmware.com>
6 lines
186 B
Python
6 lines
186 B
Python
from hurry.filesize import size
|
|
from hurry.filesize import alternative
|
|
|
|
def convert_int_to_readable_file_size(file_size):
|
|
return size(file_size, system=alternative).replace(' ', '')
|