fix: hand over version to docker build

This commit is contained in:
Michael Barz
2025-07-11 10:06:08 +02:00
parent db5ac0a4e2
commit ef4c738098
+4 -4
View File
@@ -1539,10 +1539,10 @@ def dockerReleases(ctx):
return pipelines
def dockerRelease(ctx, repo, build_type):
build_args = [
"REVISION=%s" % ctx.build.commit,
"VERSION=%s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "daily"),
]
build_args = {
"REVISION": "%s" % ctx.build.commit,
"VERSION": "%s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "daily"),
}
depends_on = getPipelineNames(getGoBinForTesting(ctx))