diff --git a/vars/declarativeFunctions.groovy b/vars/declarativeFunctions.groovy index a269aca..1a9c64b 100644 --- a/vars/declarativeFunctions.groovy +++ b/vars/declarativeFunctions.groovy @@ -62,6 +62,7 @@ def buildContainer (Map config, List buildArg = []) { } sh """ /kaniko/executor \\ + --force \\ --context "${ws}" \\ -f "${ws}/Dockerfile" \\ --destination "${config.imageDest}" \\ @@ -95,6 +96,7 @@ def buildContainerMultipleDestinations (Map config, List buildArg = []) { sh """ /kaniko/executor \\ + --force \\ --context "${ws}" \\ -f "${ws}/Dockerfile" \\ ${buildArguments}