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