Skip to content

Commit ad93554

Browse files
authored
Updated ci.yml
1 parent 8dc1a27 commit ad93554

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,11 @@ jobs:
114114
- name: setup git config
115115
run: |
116116
git config --global user.email "rohanrustagi21@gmail.com"
117-
git config --global user.name "
117+
git config --global user.name "RohanRusta21"
118+
echo ${{ github.sha }}
119+
sed -i "s#${DOCKERHUB_USERNAME}.*#${DOCKERHUB_USERNAME}/${FRONTEND_REPO_NAME}:$GITHUB_RUN_NUMBER#g" frontend_deployment.yml
120+
sed -i "s#${DOCKERHUB_USERNAME}.*#${DOCKERHUB_USERNAME}/${BACKEND_REPO_NAME}:$GITHUB_RUN_NUMBER#g" backend_deployment.yml
121+
git add -A
122+
git commit -am "Update image for Version - $GITHUB_RUN_NUMBER"
123+
- run: echo ${{ github }}
124+
- run: git push origin main

0 commit comments

Comments
 (0)