From 331b9c22e1890459c9a2a0d67f416d9f09bf701e Mon Sep 17 00:00:00 2001 From: Jared Date: Wed, 25 Jun 2025 15:18:54 +0200 Subject: [PATCH] fixed push image --- Jenkinsfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bd2d801..2c3f95c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,18 +14,18 @@ pipeline { // } stages { - stage('Install Dependencies') { - steps { - sh 'npm ci' - } - } + // stage('Install Dependencies') { + // steps { + // sh 'npm ci' + // } + // } - stage('Test & Security Audit') { - steps { - echo 'Start checking security vulnerabilities in npm packages' - sh 'npm audit' - } - } + // stage('Test & Security Audit') { + // steps { + // echo 'Start checking security vulnerabilities in npm packages' + // sh 'npm audit' + // } + // } // stage('Build') { // when { @@ -47,11 +47,11 @@ pipeline { stage('Push image in gitea registry') { steps { echo 'Start Pushing' - // script { - // docker.withRegistry("${ REGISTRY }", 'docker-login') { - // docker.build("${ IMAGE }").push('latest') - // } - //} + script { + docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de/', 'docker-login') { + docker.build('tatort-app').push('latest') + } + } } } }