From 9a10b9a5f470e79b117ec2bf0676de190ec5312b Mon Sep 17 00:00:00 2001 From: nhyatt Date: Thu, 26 May 2022 19:11:38 -0500 Subject: [PATCH] updates jenkins command due to changes in kaniko. --- vars/functions.groovy | 2 ++ 1 file changed, 2 insertions(+) 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}