fix: path to manifest file on update image tag stage
This commit is contained in:
parent
dee7e6b12b
commit
96ca064c02
|
|
@ -81,8 +81,8 @@ pipeline {
|
|||
echo "Updating manifests to tag: ${env.IMAGE_TAG_FINAL}"
|
||||
|
||||
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}-fe:${env.IMAGE_TAG_FINAL}"' base/frontend-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/frontend-deployment.yaml
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue