Build docker image on dev branch
Some checks failed
Amarillo/amarillo-gitea/amarillo-enhancer/pipeline/head There was a failure building this commit
Some checks failed
Amarillo/amarillo-gitea/amarillo-enhancer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
dda4cb40e0
commit
9884532c1f
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -51,7 +51,7 @@ pipeline {
|
|||
}
|
||||
stage('Build docker image') {
|
||||
when {
|
||||
branch 'main'
|
||||
anyOf { branch 'main'; branch 'dev' }
|
||||
}
|
||||
steps {
|
||||
echo 'Building image'
|
||||
|
|
@ -62,7 +62,7 @@ pipeline {
|
|||
}
|
||||
stage('Push image to container registry') {
|
||||
when {
|
||||
branch 'main'
|
||||
anyOf { branch 'main'; branch 'dev' }
|
||||
}
|
||||
steps {
|
||||
echo 'Pushing image to registry'
|
||||
|
|
|
|||
Loading…
Reference in a new issue