adds --ignore-var-run=false to kanakio execution
This commit is contained in:
parent
2690e78e8c
commit
8fa969db21
@ -93,6 +93,7 @@ def buildContainer (Map config, List buildArg = []) {
|
|||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
--force \\
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
|
--ignore-var-run=false \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
--destination "${config.imageDest}" \\
|
--destination "${config.imageDest}" \\
|
||||||
${buildArguments}
|
${buildArguments}
|
||||||
@ -127,6 +128,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
|
|||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
--force \\
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
|
--ignore-var-run=false \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
${buildArguments}
|
${buildArguments}
|
||||||
"""
|
"""
|
||||||
|
@ -123,6 +123,7 @@ def buildContainer (Map config, List buildArg = []) {
|
|||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
--force \\
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
|
--ignore-var-run=false \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
--destination "${config.imageDest}" \\
|
--destination "${config.imageDest}" \\
|
||||||
${buildArguments}
|
${buildArguments}
|
||||||
@ -161,6 +162,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
|
|||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
--force \\
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
|
--ignore-var-run=false \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
${buildArguments}
|
${buildArguments}
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user