mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-12 18:10:18 +00:00
Jenkins parameterized
This commit is contained in:
parent
0fb8d45838
commit
33dd8ec7b2
@ -12,7 +12,7 @@ pipeline {
|
||||
/* This builds the actual image; synonymous to
|
||||
* docker build on the command line */
|
||||
script {
|
||||
imageObject = docker.build(${env.imageName})
|
||||
imageObject = docker.build(env.imageName)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -32,7 +32,7 @@ pipeline {
|
||||
stage('Push image') {
|
||||
steps {
|
||||
script {
|
||||
docker.withRegistry(${env.dockerRegistry}) {
|
||||
docker.withRegistry(env.dockerRegistry) {
|
||||
imageObject.push()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user