Skip to content

Commit

Permalink
dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
Keerthilochankumar committed Aug 14, 2024
1 parent b23d747 commit 5fe4a11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Change directory to backend
run: cd backend

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -49,6 +52,6 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
context: ./backend
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/my-node-app:latest

0 comments on commit 5fe4a11

Please sign in to comment.