ci043-add-jenkins-ci #13

Merged
jared merged 36 commits from ci043-add-jenkins-ci into development 2025-06-25 16:40:38 +02:00
Showing only changes of commit b991904921 - Show all commits

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}"
}
}