Tomishinets Vladimir 4 жил өмнө
parent
commit
335e5f92f0

+ 1 - 1
buildImage.Jenkinsfile

@@ -68,7 +68,7 @@ pipeline {
         script {
           echo "Update Helm Chart"
           def data = readYaml file: "${CHART_PATH}/values.yaml"
-          TAG_PATH = "images.${PROJECT}.dev"
+          TAG_PATH = "images.${PROJECT}.build"
           yamlOps.updateBuilder(TAG_PATH, data, TAG)
           writeYaml file: "${CHART_PATH}/values.yaml", data: data, overwrite: true
         }

+ 2 - 2
updateK8s.Jenkinsfile

@@ -50,9 +50,9 @@ pipeline {
         script {
           echo "Update values.yaml"
           def data = readYaml file: "${CHART_PATH}/values.yaml"
-          TAG_PATH = "images.${PROJECT}.dev"
+          TAG_PATH = "images.${PROJECT}.build"
           TAG = yamlOps.getBuilder(TAG_PATH, data)
-          TAG_PATH = "images.${PROJECT}.prod"
+          TAG_PATH = "images.${PROJECT}.stable"
           yamlOps.updateBuilder(TAG_PATH, data, TAG)
           writeYaml file: "${CHART_PATH}/values.yaml", data: data, overwrite: true
         }