adds --ignore-var-run=false to kanakio execution

This commit is contained in:
2025-01-17 07:30:52 -06:00
parent 2690e78e8c
commit 8fa969db21
2 changed files with 4 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ def buildContainer (Map config, List buildArg = []) {
/kaniko/executor \\
--force \\
--context "${ws}" \\
--ignore-var-run=false \\
-f "${ws}/Dockerfile" \\
--destination "${config.imageDest}" \\
${buildArguments}
@@ -127,6 +128,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
/kaniko/executor \\
--force \\
--context "${ws}" \\
--ignore-var-run=false \\
-f "${ws}/Dockerfile" \\
${buildArguments}
"""

View File

@@ -123,6 +123,7 @@ def buildContainer (Map config, List buildArg = []) {
/kaniko/executor \\
--force \\
--context "${ws}" \\
--ignore-var-run=false \\
-f "${ws}/Dockerfile" \\
--destination "${config.imageDest}" \\
${buildArguments}
@@ -161,6 +162,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
/kaniko/executor \\
--force \\
--context "${ws}" \\
--ignore-var-run=false \\
-f "${ws}/Dockerfile" \\
${buildArguments}
"""