fix: set build context to root instead of pkg
Docker Build and Push / build (pull_request) Successful in 46s
Docker Build and Push / build (pull_request) Successful in 46s
The build context was set to 'pkg', but the Dockerfile references requirements.txt and src/ which are at the repository root. Changing context to '.' gives Docker access to all necessary files.
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v7
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: pkg
|
context: .
|
||||||
file: pkg/Dockerfile
|
file: pkg/Dockerfile
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|||||||
Reference in New Issue
Block a user