ci043-add-jenkins-ci #13

Merged
jared merged 36 commits from ci043-add-jenkins-ci into development 2025-06-25 16:40:38 +02:00
Showing only changes of commit b432554cca - Show all commits

8
Jenkinsfile vendored
View File

@@ -46,9 +46,11 @@ pipeline {
stage('Push image in gitea registry') { stage('Push image in gitea registry') {
steps { steps {
sh "docker login ${REGISTRY}/access_token=${TOKEN}" sh """
sh "docker push ${REGISTRY}/-/${IMAGE}:latest" echo "${TOKEN}" | docker login ${REGISTRY} -u "${USER}" --password-stdin
sh "docker logout ${REGISTRY}" docker push ${REGISTRY}/-/${IMAGE}:latest
docker logout ${REGISTRY}
"""
} }
} }
} }