Skip to content

Commit 592ee86

Browse files
committed
Fix: added build_context and build_dockerfile
1 parent dbf2048 commit 592ee86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/docker_image_build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
pytest:
2424
uses: hotosm/gh-workflows/.github/workflows/test_pytest.yml@main
2525
with:
26+
build_context: .
27+
build_dockerfile: ${{ github.event_name == 'pull_request' && './Dockerfile.dev' || './Dockerfile.prod' }}
2628
image_name: ghcr.io/${{ github.repository }}/backend
2729
extra_build_args: |
2830
COMMIT_REF=${{ github.sha }}

0 commit comments

Comments
 (0)