updates jenkins command due to changes in kaniko.
This commit is contained in:
@@ -117,6 +117,7 @@ def buildContainer (Map config, List buildArg = []) {
|
||||
}
|
||||
sh """
|
||||
/kaniko/executor \\
|
||||
--force \\
|
||||
--context "${ws}" \\
|
||||
-f "${ws}/Dockerfile" \\
|
||||
--destination "${config.imageDest}" \\
|
||||
@@ -154,6 +155,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) {
|
||||
|
||||
sh """
|
||||
/kaniko/executor \\
|
||||
--force \\
|
||||
--context "${ws}" \\
|
||||
-f "${ws}/Dockerfile" \\
|
||||
${buildArguments}
|
||||
|
Reference in New Issue
Block a user