From 0e965af467ea3944a8252d8ed48f4862564ae5a8 Mon Sep 17 00:00:00 2001 From: Julin Date: Thu, 7 Dec 2023 15:29:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E9=94=99=E8=AF=AF=EF=BC=9A?= =?UTF-8?q?=20+=20/kaniko/executor=20'--context=3D/builder/workspace/pep-s?= =?UTF-8?q?tats-report'=20'--dockerfile=3D./Dockerfile'=20'--destination?= =?UTF-8?q?=3Dregistry.ngaiot.com/pep/pep-stats-report:14'=20'--cache=3Dfa?= =?UTF-8?q?lse'=20--cleanup=20Error:=20error=20resolving=20dockerfile=20pa?= =?UTF-8?q?th:=20please=20provide=20a=20valid=20path=20to=20a=20Dockerfile?= =?UTF-8?q?=20within=20the=20build=20context=20with=20--dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/pep-stats-report/jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/pep-stats-report/jenkinsfile b/code/pep-stats-report/jenkinsfile index ffdd5c6..ca48a47 100644 --- a/code/pep-stats-report/jenkinsfile +++ b/code/pep-stats-report/jenkinsfile @@ -9,7 +9,7 @@ podTemplate { container('image-builder') { sh''' - /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./Dockerfile --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup + /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./code/pep-stats-report/Dockerfile --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup ''' }