diff --git a/Jenkinsfile b/Jenkinsfile index 3e30367..5f71de4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,13 @@ pipeline { nodejs 'NodeJS-24.2.0' } + environment { + REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de//innohub/-' + IMAGE = 'tatort-app' + USER = 'jared' + TOKEN = credentials('74a7c9bb-c80f-4699-ab0e-f98fb2f9a8e6') + } + stages { // stage('Install Dependencies') { // steps { @@ -37,7 +44,10 @@ pipeline { } } - + stage('Push image in gitea registry') { + docker push ${REGISTRY}/${USER}/${IMAGE}:latest + docker logout ${REGISTRY} + } } post {