fix build

This commit is contained in:
Michael Jerger 2023-07-14 12:43:08 +02:00
parent 771ffe5229
commit cb48674864

View file

@ -11,9 +11,9 @@ version = "4.0.15-dev"
@init @init
def initialize(project): def initialize(project):
image_version = version image_tag = version
if "dev" in image_version: if "dev" in image_tag:
image_version += datetime.now().strftime("%Y-%m-%d-%H-%M-%S") image_tag += datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
input = { input = {
"name": name, "name": name,
@ -23,7 +23,7 @@ def initialize(project):
"build_types": ["IMAGE"], "build_types": ["IMAGE"],
"mixin_types": [], "mixin_types": [],
'image_naming': "NAME_AND_MODULE", 'image_naming': "NAME_AND_MODULE",
"image_version": f"{image_version}", "image_tag": f"{image_tag}",
} }
project.build_depends_on("ddadevops>=4.0.0") project.build_depends_on("ddadevops>=4.0.0")