Update Jenkinsfile
This commit is contained in:
parent
20b4a54a67
commit
4b5a9fc9c6
1 changed files with 2 additions and 3 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -13,14 +13,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
docker.withRegistry('https://git.adrianux.net/ahoemann/') {
|
docker.withRegistry('https://git.adrianux.net/ahoemann/') {
|
||||||
|
|
||||||
/* Build the container image */
|
/* Build the container image */
|
||||||
def dockerImage = docker.build("adrianux:${env.BUILD_ID}")
|
def dockerImage = docker.build("adrianux:${env.BUILD_ID}")
|
||||||
|
|
||||||
/* Push the container to the custom Registry */
|
/* Push the container to the custom Registry */
|
||||||
dockerImage.push()
|
dockerImage.push()
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue