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