From 9059c7a79ece207b9084a657e5e91d66fafcce92 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 7 Jan 2025 16:16:12 +0100 Subject: [PATCH] deploy --- deploy-this/create-nginx-with-tools.jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy-this/create-nginx-with-tools.jenkinsfile b/deploy-this/create-nginx-with-tools.jenkinsfile index 5905fe3..2456f92 100644 --- a/deploy-this/create-nginx-with-tools.jenkinsfile +++ b/deploy-this/create-nginx-with-tools.jenkinsfile @@ -5,8 +5,10 @@ pipeline { stage('create nginx-with-tools-docker') { steps { script{ - def nxinx_build ="docker build --build-arg NGINX_IMAGE=${NGINX_IMAGE} --file ./nginx-with-tools-docker.dockerfile -t nginx-with-tools ." - sh(nxinx_build); + dir("deploy-this"){ + def nxinx_build ="docker build --build-arg NGINX_IMAGE=${NGINX_IMAGE} --file ./nginx-with-tools-docker.dockerfile -t nginx-with-tools ." + sh(nxinx_build); + } } } }