mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
chore: refine Docker build process and update context paths
- Updated GitHub Actions workflow to specify the Dockerfile location and set the build context to the root of the repository. - Modified Dockerfile to copy backend and other required modules from their respective directories, improving the build process.
This commit is contained in:
3
.github/workflows/docker-crawlab.yml
vendored
3
.github/workflows/docker-crawlab.yml
vendored
@@ -199,7 +199,8 @@ jobs:
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ${{ env.IMAGE_PATH_CRAWLAB_BACKEND }}
|
||||
context: .
|
||||
file: ${{ env.IMAGE_PATH_CRAWLAB_BACKEND }}/Dockerfile
|
||||
push: true
|
||||
tags: ${{ env.IMAGE_NAME_CRAWLAB_BACKEND }}:${{ needs.setup.outputs.version }}
|
||||
- name: Set output
|
||||
|
||||
Reference in New Issue
Block a user