fix: path to manifest file on update image tag stage

This commit is contained in:
adelyaou 2025-10-23 10:57:27 +07:00
parent dee7e6b12b
commit 96ca064c02
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -81,8 +81,8 @@ pipeline {
echo "Updating manifests to tag: ${env.IMAGE_TAG_FINAL}" echo "Updating manifests to tag: ${env.IMAGE_TAG_FINAL}"
sh """ sh """
yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-be:${env.IMAGE_TAG_FINAL}"' base/backend-deployment.yaml yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-be:${env.IMAGE_TAG_FINAL}"' base/backend/backend-deployment.yaml
yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-fe:${env.IMAGE_TAG_FINAL}"' base/frontend-deployment.yaml yq e -i '.spec.template.spec.containers[0].image = "${REGISTRY}/${APP_NAME}-fe:${env.IMAGE_TAG_FINAL}"' base/frontend/frontend-deployment.yaml
""" """
} }
} }