added push to gitea job
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:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user