Add latest tag
This commit is contained in:
parent
21cf211a0f
commit
3c9bcc1b65
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -11,7 +11,7 @@ pipeline {
|
|||
stage('Build Docker Image') {
|
||||
steps {
|
||||
script {
|
||||
def dockerImage = docker.build('git.thisfro.ch/jenkinsci/pflaenzli', '-f Dockerfile . --tag git.thisfro.ch/jenkinsci/pflaenzli:${BUILD_NUMBER}')
|
||||
def dockerImage = docker.build('git.thisfro.ch/jenkinsci/pflaenzli', '-f Dockerfile . --tag git.thisfro.ch/jenkinsci/pflaenzli:${BUILD_NUMBER} --tag git.thisfro.ch/jenkinsci/pflaenzli:latest')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue