Sidecar implementation (#1242)

* reolved file skipping while API-deloyment execution

* sidecar implementation

* update docker build yaml

* tool version updates

* remove docker tool-sidecar build

* minor updates on runner

* update docker-tool-build workflow with sidecar

* update docker-tool-build workflow with sidecar

* update docker-tool-build workflow with sidecar

* Commit pdm.lock changes

* removed tool-sidecar from workflow build

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* validation on imagename exist and minor changes in docker file

* format fixes

* tool dockerfile cmd to entrypoint

* updated tool version in public tools

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
ali
2025-04-11 19:33:33 +05:30
committed by GitHub
parent 4d30f8efd8
commit f2cdaebd2d
30 changed files with 1592 additions and 70 deletions

View File

@@ -16,6 +16,7 @@ on:
- tool-classifier
- tool-structure
- tool-text-extractor
- tool-sidecar
run-name: "[${{ inputs.service_name }}:${{ inputs.tag }}] Docker Image Build and Push (Development)"
@@ -44,6 +45,8 @@ jobs:
- name: Build tool-text-extractor
if: github.event.inputs.service_name=='tool-text-extractor'
run: docker build -t unstract/${{github.event.inputs.service_name}}:${{ github.event.inputs.tag }} ./tools/text_extractor
- name: Build tool-sidecar
if: github.event.inputs.service_name=='tool-sidecar'
run: docker build -t unstract/${{github.event.inputs.service_name}}:${{ github.event.inputs.tag }} -f docker/dockerfiles/tool-sidecar.Dockerfile .
- name: Push Docker image to Docker Hub
run: docker push unstract/${{ github.event.inputs.service_name }}:${{ github.event.inputs.tag }}