fixed push image
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -6,13 +6,6 @@ pipeline {
|
||||
nodejs 'NodeJS-24.2.0'
|
||||
}
|
||||
|
||||
// environment {
|
||||
// REGISTRY = 'https://gitea.innovation-hub-niedersachsen.de/'
|
||||
// IMAGE = 'tatort-app'
|
||||
// USER = 'jared'
|
||||
// TOKEN = credentials('c661e484bb4f032f8a0a5b02cda6f3344ca584b5')
|
||||
// }
|
||||
|
||||
stages {
|
||||
// stage('Install Dependencies') {
|
||||
// steps {
|
||||
@@ -48,8 +41,8 @@ pipeline {
|
||||
steps {
|
||||
echo 'Start Pushing'
|
||||
script {
|
||||
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', '74a7c9bb-c80f-4699-ab0e-f98fb2f9a8e6') {
|
||||
docker.build('gitea.innovation-hub-niedersachsen.de/innohub/-/tatort-app').push('latest')
|
||||
docker.withRegistry('https://gitea.innovation-hub-niedersachsen.de', 'JenkinsGitea') {
|
||||
docker.build('innohub/tatort/tatort-app').push('latest')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user