From 0935c44c1c367f67e0384643ed67305f9c946bb0 Mon Sep 17 00:00:00 2001 From: Michael Barz Date: Fri, 11 Jul 2025 12:07:17 +0200 Subject: [PATCH] fix: build_args is now an object (#1213) --- .woodpecker.star | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index 0e48ad51d..9ce3c3785 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -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))