From: Erik Brakkee Date: Sun, 17 Nov 2024 19:16:34 +0000 (+0100) Subject: passing correct mirror repo X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=fd23c3d59216d0034b78003db4d6e969f4a15e0a;p=pipelinelib passing correct mirror repo --- diff --git a/vars/buildcontainer.groovy b/vars/buildcontainer.groovy index 643cec4..86ee719 100644 --- a/vars/buildcontainer.groovy +++ b/vars/buildcontainer.groovy @@ -25,7 +25,7 @@ def call(Map args) { mirrorArg = "" if (args.mirror) { - mirrorArg = "--registry-mirror '${mirrorArg}'" + mirrorArg = "--registry-mirror '${args.mirror}'" } container('kaniko') { sh """