Skip to content

Commit

Permalink
Move inside server dir before building image
Browse files Browse the repository at this point in the history
  • Loading branch information
yash22arora committed May 16, 2024
1 parent e8207e9 commit 12fdfd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build Docker image
run: docker build -f server/Dockerfile -t ${{secrets.DOCKER_USERNAME}}/${{secrets.DOCKER_IMAGE_NAME}}:latest .
run: |
cd server
docker build -f Dockerfile -t ${{secrets.DOCKER_USERNAME}}/${{secrets.DOCKER_IMAGE_NAME}}:latest .
- name: Push Docker image
run: docker push ${{secrets.DOCKER_USERNAME}}/${{secrets.DOCKER_IMAGE_NAME}}:latest
Expand Down

0 comments on commit 12fdfd5

Please sign in to comment.