adds force flag for kaniko changes
This commit is contained in:
parent
9a10b9a5f4
commit
63665f0db6
@ -62,6 +62,7 @@ def buildContainer (Map config, List buildArg = []) {
|
|||||||
}
|
}
|
||||||
sh """
|
sh """
|
||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
--destination "${config.imageDest}" \\
|
--destination "${config.imageDest}" \\
|
||||||
@ -95,6 +96,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
|
|||||||
|
|
||||||
sh """
|
sh """
|
||||||
/kaniko/executor \\
|
/kaniko/executor \\
|
||||||
|
--force \\
|
||||||
--context "${ws}" \\
|
--context "${ws}" \\
|
||||||
-f "${ws}/Dockerfile" \\
|
-f "${ws}/Dockerfile" \\
|
||||||
${buildArguments}
|
${buildArguments}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user