This commit is contained in:
Artur 2025-01-07 16:16:12 +01:00
parent 140ce8073c
commit 9059c7a79e
1 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@ pipeline {
stage('create nginx-with-tools-docker') { stage('create nginx-with-tools-docker') {
steps { steps {
script{ script{
dir("deploy-this"){
def nxinx_build ="docker build --build-arg NGINX_IMAGE=${NGINX_IMAGE} --file ./nginx-with-tools-docker.dockerfile -t nginx-with-tools ." def nxinx_build ="docker build --build-arg NGINX_IMAGE=${NGINX_IMAGE} --file ./nginx-with-tools-docker.dockerfile -t nginx-with-tools ."
sh(nxinx_build); sh(nxinx_build);
} }
@ -12,3 +13,4 @@ pipeline {
} }
} }
} }
}