Update repo
This commit is contained in:
parent
61756ec929
commit
0d731e701a
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
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} --tag git.thisfro.ch/jenkinsci/pflaenzli:latest")
|
||||
def dockerImage = docker.build("git.thisfro.ch/pflaenz.li/pflaenzli", "-f Dockerfile . --tag git.thisfro.ch/pflaenz.li/pflaenzli:${BUILD_NUMBER} --tag git.thisfro.ch/pflaenz.li/pflaenzli:latest")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ pipeline {
|
|||
stage("Push Docker Image") {
|
||||
steps {
|
||||
script {
|
||||
def numberTagImage = docker.image("git.thisfro.ch/jenkinsci/pflaenzli:${BUILD_NUMBER}")
|
||||
def numberTagImage = docker.image("git.thisfro.ch/pflaenz.li/pflaenzli:${BUILD_NUMBER}")
|
||||
docker.withRegistry("https://git.thisfro.ch", "jenkins-ci") {
|
||||
numberTagImage.push()
|
||||
}
|
||||
|
||||
def latestTagImage = docker.image("git.thisfro.ch/jenkinsci/pflaenzli:latest")
|
||||
def latestTagImage = docker.image("git.thisfro.ch/pflaenz.li/pflaenzli:latest")
|
||||
docker.withRegistry("https://git.thisfro.ch", "jenkins-ci") {
|
||||
latestTagImage.push()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue