From f1f15a7b364208428549abbc103cc176d9e9afdd Mon Sep 17 00:00:00 2001 From: Shwetabh Kumar Date: Mon, 5 Feb 2024 12:21:55 +0530 Subject: [PATCH] Update production_deployment.yml (#559) --- .github/workflows/production_deployment.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/production_deployment.yml b/.github/workflows/production_deployment.yml index 95589273..ebf05002 100644 --- a/.github/workflows/production_deployment.yml +++ b/.github/workflows/production_deployment.yml @@ -36,7 +36,11 @@ jobs: - name: Update Image Tag run: | NEW_TAG="v$(git rev-parse --short HEAD)" - cd ${{ secrets.PROD_DEPLOY_REPO }}/${{ secrets.EKS_CLUSTER_NAME }}/integrations + + cd ${{ secrets.PROD_DEPLOY_REPO }}/${{ secrets.US_EKS_CLUSTER_NAME }}/integrations + kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api:$NEW_TAG + + cd ../../${{ secrets.IN_EKS_CLUSTER_NAME }}/integrations kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_qbo-api:$NEW_TAG - name: Commit and push changes