fix: build_args is now an object (#1213)

This commit is contained in:
Michael Barz
2025-07-11 12:07:17 +02:00
committed by GitHub
parent f60e36e8d7
commit 0935c44c1c

View File

@@ -1559,10 +1559,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))