From 53a5dd187372240c29c4439ff1cae38fb4e4d566 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 26 Sep 2025 10:02:35 -0500 Subject: [PATCH] fixup! bci2: Add resources argument --- vars/buildContainerImage2.groovy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vars/buildContainerImage2.groovy b/vars/buildContainerImage2.groovy index 5031227..b058133 100644 --- a/vars/buildContainerImage2.groovy +++ b/vars/buildContainerImage2.groovy @@ -53,7 +53,7 @@ def call(args) { } parallel stages - runInPod(null) { + runInPod { container('buildah') { withBuildahCreds(registry) { if (archlist.size() > 1) { @@ -109,6 +109,10 @@ def buildStage(args) { } } +def runInPod(block) { + runInPod(null, block) +} + def runInPod(args, block) { def arch = args?.arch def resources = args?.resources