Compare commits

..

1 Commits

Author SHA1 Message Date
wpetit 91f08d525f chore(ci): release docker image
Cadoles/bouncer/pipeline/pr-develop There was a failure building this commit Details
2023-07-07 09:35:52 -06:00
1 changed files with 23 additions and 2 deletions

25
Jenkinsfile vendored
View File

@ -29,12 +29,11 @@ pipeline {
}
}
stage('Release') {
stage('Release binaries and packages') {
when {
anyOf {
branch 'master'
branch 'develop'
branch 'ci-docker-release'
}
}
steps {
@ -47,6 +46,28 @@ pipeline {
])
]) {
sh 'make gitea-release'
}
}
}
}
stage('Build and release Docker image') {
when {
anyOf {
branch 'master'
branch 'develop'
branch 'PR-7'
}
}
steps {
script {
withCredentials([
usernamePassword([
credentialsId: 'forge-jenkins',
usernameVariable: 'GITEA_RELEASE_USERNAME',
passwordVariable: 'GITEA_RELEASE_PASSWORD'
])
]) {
sh '''
make docker-build docker-release
'''