fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
This commit is contained in:
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
@@ -14,18 +14,18 @@ pipeline {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Install Dependencies') {
|
// stage('Install Dependencies') {
|
||||||
steps {
|
// steps {
|
||||||
sh 'npm ci'
|
// sh 'npm ci'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage('Test & Security Audit') {
|
// stage('Test & Security Audit') {
|
||||||
steps {
|
// steps {
|
||||||
echo 'Start checking security vulnerabilities in npm packages'
|
// echo 'Start checking security vulnerabilities in npm packages'
|
||||||
sh 'npm audit'
|
// sh 'npm audit'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// stage('Build') {
|
// stage('Build') {
|
||||||
// when {
|
// when {
|
||||||
@@ -47,11 +47,11 @@ pipeline {
|
|||||||
stage('Push image in gitea registry') {
|
stage('Push image in gitea registry') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Start Pushing'
|
echo 'Start Pushing'
|
||||||
// script {
|
script {
|
||||||
// docker.withRegistry("${ REGISTRY }", 'docker-login') {
|
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de/', 'docker-login') {
|
||||||
// docker.build("${ IMAGE }").push('latest')
|
docker.build('tatort-app').push('latest')
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user