updates jenkins command due to changes in kaniko.
This commit is contained in:
parent
c216572e94
commit
9a10b9a5f4
@ -117,6 +117,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}" \\
|
||||||
@ -154,6 +155,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