added build id to image, set correct dockerfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit

This commit is contained in:
2025-07-01 07:25:04 +02:00
parent 2667db5755
commit 890380609f

22
Jenkinsfile vendored
View File

@@ -50,17 +50,17 @@ pipeline {
// }
// }
// stage('Push image in gitea registry') {
// steps {
// echo 'Start Pushing'
// script {
// docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
// docker.build('innohub/tatort-app').push('latest')
// }
// }
// }
// }
// }
stage('Push image in gitea registry') {
steps {
echo 'Start Pushing'
script {
def dockerfile = 'Dockerfile.dev'
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
docker.build("innohub/tatort:${env.BUILD_ID}", "-f ${dockerfile} .").push('latest')
}
}
}
}
post {
success {