From c3e48264d64467176769b99981bfd340710f553a Mon Sep 17 00:00:00 2001 From: nhyatt Date: Fri, 17 Jan 2025 07:33:51 -0600 Subject: [PATCH] Sets --ignore-var-run to true --- vars/declarativeFunctions.groovy | 4 ++-- vars/functions.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vars/declarativeFunctions.groovy b/vars/declarativeFunctions.groovy index c32f747..385fbf6 100644 --- a/vars/declarativeFunctions.groovy +++ b/vars/declarativeFunctions.groovy @@ -93,7 +93,7 @@ def buildContainer (Map config, List buildArg = []) { /kaniko/executor \\ --force \\ --context "${ws}" \\ - --ignore-var-run=false \\ + --ignore-var-run=true \\ -f "${ws}/Dockerfile" \\ --destination "${config.imageDest}" \\ ${buildArguments} @@ -128,7 +128,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) { /kaniko/executor \\ --force \\ --context "${ws}" \\ - --ignore-var-run=false \\ + --ignore-var-run=true \\ -f "${ws}/Dockerfile" \\ ${buildArguments} """ diff --git a/vars/functions.groovy b/vars/functions.groovy index f1b3b4d..3f8fb77 100644 --- a/vars/functions.groovy +++ b/vars/functions.groovy @@ -123,7 +123,7 @@ def buildContainer (Map config, List buildArg = []) { /kaniko/executor \\ --force \\ --context "${ws}" \\ - --ignore-var-run=false \\ + --ignore-var-run=true \\ -f "${ws}/Dockerfile" \\ --destination "${config.imageDest}" \\ ${buildArguments} @@ -162,7 +162,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) { /kaniko/executor \\ --force \\ --context "${ws}" \\ - --ignore-var-run=false \\ + --ignore-var-run=true \\ -f "${ws}/Dockerfile" \\ ${buildArguments} """