add dockerfile building for prometheus to jenkinsfile
This commit is contained in:
2
dockerfiles/services/prometheus/Jenkinsfile
vendored
2
dockerfiles/services/prometheus/Jenkinsfile
vendored
@@ -13,7 +13,7 @@ node('docker') {
|
|||||||
stage('build') {
|
stage('build') {
|
||||||
dir(workdir) {
|
dir(workdir) {
|
||||||
docker.withRegistry('http://dkregistry.xai-corp.net:5000') {
|
docker.withRegistry('http://dkregistry.xai-corp.net:5000') {
|
||||||
def customImage = docker.build("dkregistry.xai-corp.net:5000/${app_name}:latest", "-f ${build_file} .")
|
def customImage = docker.build("dkregistry.xai-corp.net:5000/${app_name}:latest", "-f Dockerfile .")
|
||||||
customImage.push()
|
customImage.push()
|
||||||
}
|
}
|
||||||
sh "docker-compose -f ${build_file} pull"
|
sh "docker-compose -f ${build_file} pull"
|
||||||
|
|||||||
Reference in New Issue
Block a user