fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit

This commit is contained in:
2025-06-25 14:21:47 +02:00
parent 66794ef0f6
commit b991904921

5
Jenkinsfile vendored
View File

@@ -7,7 +7,7 @@ pipeline {
}
environment {
REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de//innohub/-'
REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
IMAGE = 'tatort-app'
USER = 'jared'
TOKEN = credentials('74a7c9bb-c80f-4699-ab0e-f98fb2f9a8e6')
@@ -46,7 +46,8 @@ pipeline {
stage('Push image in gitea registry') {
steps {
sh "docker push ${REGISTRY}/${USER}/${IMAGE}:latest"
sh "docker login ${REGISTRY}/access_token=${TOKEN}"
sh "docker push ${REGISTRY}/-/${IMAGE}:latest"
sh "docker logout ${REGISTRY}"
}
}