Push to jenkinsci
This commit is contained in:
parent
e43516fe31
commit
d6bd0c334c
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -11,7 +11,7 @@ pipeline {
|
|||
stage('Build Docker Image') {
|
||||
steps {
|
||||
script {
|
||||
def dockerImage = docker.build('git.thisfro.ch/thisfro/pflaenzli', '-f Dockerfile . --tag git.thisfro.ch/thisfro/pflaenzli:latest')
|
||||
def dockerImage = docker.build('git.thisfro.ch/jenkinsci/pflaenzli', '-f Dockerfile . --tag git.thisfro.ch/jenkinsci/pflaenzli:latest')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ pipeline {
|
|||
stage('Push Docker Image') {
|
||||
steps {
|
||||
script {
|
||||
def dockerImage = docker.image('git.thisfro.ch/thisfro/pflaenzli:latest')
|
||||
def dockerImage = docker.image('git.thisfro.ch/jenkinsci/pflaenzli:latest')
|
||||
docker.withRegistry('https://git.thisfro.ch', 'jenkins-ci') {
|
||||
dockerImage.push()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue