Skip to content

Commit

Permalink
Added working directory to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jordybronowicki37 authored Sep 9, 2024
1 parent 2b92d01 commit 05ae6e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build ./backend --file Dockerfile --tag $IMAGE_NAME:${{ inputs.version }}
run: docker build . --file Dockerfile --tag $IMAGE_NAME:${{ inputs.version }}
working-directory: backend
- name: Login to Container registry
run: docker login ghcr.io -u ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }}
- name: Publish the Docker image
Expand Down

0 comments on commit 05ae6e3

Please sign in to comment.