Skip to content

Commit

Permalink
Update production_deployment.yml (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shwetabhk authored Feb 5, 2024
1 parent b5f13dc commit d9c8111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/production_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ 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_xero-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_xero-api:$NEW_TAG
cd ${{ secrets.PROD_DEPLOY_REPO }}/${{ secrets.IN_EKS_CLUSTER_NAME }}/integrations
kustomize edit set image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_xero-api=docker.io/${{ secrets.DOCKERHUB_USERNAME }}/fyle_xero-api:$NEW_TAG
- name: Commit and push changes
Expand Down

0 comments on commit d9c8111

Please sign in to comment.