Skip to content

Commit

Permalink
Update cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindramohith authored Aug 9, 2024
1 parent 22ceb14 commit 76b2b05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: docker login -u ${{ secrets.DOCKER_USR }} -p ${{ secrets.DOCKER_PSWD }}
- name: Publish docker Image to Hub
run: docker push ravindramohith/discord_clone:latest


deploy:
needs: build
Expand All @@ -29,4 +30,4 @@ jobs:
- name: Remove Existing Container
run: docker rm -f discord-clone-container
- name: Run Docker Container
run: docker run -d -p 3000:3000 --name discord-clone-container ravindramohith/discord_clone:latest
run: docker run -d -p 3000:3000 --name discord-clone-container ravindramohith/discord_clone:latest

0 comments on commit 76b2b05

Please # to comment.