diff --git a/instill/helpers/build.py b/instill/helpers/build.py index a3c5858..42e25a9 100644 --- a/instill/helpers/build.py +++ b/instill/helpers/build.py @@ -1,3 +1,4 @@ +import hashlib import os import shutil @@ -24,7 +25,11 @@ build = config["build"] repo = config["repo"] - tag = config["tag"] + tag = ( + config["tag"] + if config["tag"] is not None and config["tag"] != "" + else hashlib.sha256().hexdigest() + ) python_version = build["python_version"].replace(".", "") ray_version = ray.__version__