fix: hand over version to docker build (#1210)

This commit is contained in:
Michael Barz
2025-07-11 10:57:04 +02:00
committed by GitHub
parent 2007411b6c
commit a5cb9afd7b
+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))