diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 1013a37..9a63219 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -55,9 +55,7 @@ pipeline { stage('Build Container') { steps { container('podman') { - dir('container') { - sh '. ../ci/build-container.sh' - } + sh '. ci/build-container.sh' } } } @@ -65,9 +63,7 @@ pipeline { stage('Publish Container') { steps { container('podman') { - dir('container') { - sh '. ../ci/publish-container.sh' - } + sh '. ci/publish-container.sh' } } } diff --git a/ci/build-container.sh b/ci/build-container.sh index d4d9055..262884c 100644 --- a/ci/build-container.sh +++ b/ci/build-container.sh @@ -2,4 +2,4 @@ cp -r ui/dist ui cp -r svc/dist wheels -podman build -t hudctrl:${BUILD_NUMBER} . +podman build -t hudctrl:${BUILD_NUMBER} container