Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good

This commit is contained in:
2025-07-15 11:54:50 +02:00
parent d9bcad9f77
commit 552350354b

8
Jenkinsfile vendored
View File

@@ -73,9 +73,13 @@ pipeline {
steps {
script {
didRun = true
def tag = "innohub/tatort-dev:0.${env.BUILD_ID}"
def versionTag = "0.${env.BUILD_ID}-dev.1"
def imageName = "gitea.innovation-hub-niedersachsen.de/innohub/tatort-dev"
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
docker.build(tag, '-f Dockerfile.dev .').push('latest')
def img = docker.build("${imageName}:${versionTag}", '-f Dockerfile.dev .')
img.push()
img.push('latest') // Optional if you want to keep 'latest' tag
}
}
}