diff --git a/vars/functions.groovy b/vars/functions.groovy index 72e85d7..b6d33dd 100644 --- a/vars/functions.groovy +++ b/vars/functions.groovy @@ -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}