passing correct mirror repo
authorErik Brakkee <erik@brakkee.org>
Sun, 17 Nov 2024 19:16:34 +0000 (20:16 +0100)
committerErik Brakkee <erik@brakkee.org>
Sun, 17 Nov 2024 19:16:34 +0000 (20:16 +0100)
vars/buildcontainer.groovy

index 643cec461900ee3fa2ed9a1ffdcda2b0eecd5d68..86ee719e4da5d8b2939edc624d283c4a9ca23aff 100644 (file)
@@ -25,7 +25,7 @@ def call(Map args) {
 
   mirrorArg = ""
   if (args.mirror) {
-    mirrorArg = "--registry-mirror '${mirrorArg}'"
+    mirrorArg = "--registry-mirror '${args.mirror}'"
   }
   container('kaniko') { 
     sh """