From 394091d885af53edb1067d53961a40799c6f02c1 Mon Sep 17 00:00:00 2001 From: MassiveBox Date: Fri, 21 Jul 2023 18:10:35 +0200 Subject: [PATCH] Fix pipeline --- jenkins/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index 7833d6c..b58cdb1 100644 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { unstash 'dockerfile' unstash 'ecodash-x86' unstash 'templates' - sh 'docker build -t ecodash .' + sh 'cp jenkins/Dockerfile ./Dockerfile; docker build -t ecodash .' } } @@ -55,7 +55,7 @@ pipeline { unstash 'dockerfile' unstash 'ecodash-arm' unstash 'templates' - sh 'docker buildx build --platform linux/arm64 -t ecodash .' + sh 'cp jenkins/Dockerfile ./Dockerfile; docker buildx build --platform linux/arm64 -t ecodash .' } }