add ind commands
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -23,10 +23,12 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("build image") {
|
stage("build and push image") {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
buildImage 'nanajanashia/demo-app:jma-3.0'
|
buildImage 'nanajanashia/demo-app:jma-3.0'
|
||||||
|
dockerLogin()
|
||||||
|
dockerPush 'nanajanashia/demo-app:jma-3.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user