Publish Executor Containers #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Example Executor Containers | |
on: | |
workflow_dispatch: | |
inputs: | |
indexify_version: | |
type: string | |
description: | | |
Indexify version to use to build the executor containers. | |
Note: Should ideally match the tag used for this workflow. | |
required: true | |
jobs: | |
build-and-push-docker-images: | |
name: Build and Push Docker Executor | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- run: | | |
curl -LsSf https://astral.sh/uv/install.sh | sh # install uv | |
uv pip install --system 'indexify==${{ inputs.indexify_version }}' -U | |
indexify-cli build-default-image --python-version 3.10 | |
docker tag tensorlake/indexify-executor-default:3.10 tensorlake/indexify-executor-default:3.10-${{ inputs.indexify_version }} | |
docker push tensorlake/indexify-executor-default:3.10 tensorlake/indexify-executor-default:3.10-${{ inputs.indexify_version }} | |
indexify-cli build-default-image --python-version 3.11 | |
docker tag tensorlake/indexify-executor-default:3.11 tensorlake/indexify-executor-default:3.11-${{ inputs.indexify_version }} | |
docker push tensorlake/indexify-executor-default:3.11 tensorlake/indexify-executor-default:3.11-${{ inputs.indexify_version }} | |
indexify-cli build-default-image --python-version 3.12 | |
docker tag tensorlake/indexify-executor-default:3.12 tensorlake/indexify-executor-default:3.12-${{ inputs.indexify_version }} | |
docker push tensorlake/indexify-executor-default:3.12 tensorlake/indexify-executor-default:3.12-${{ inputs.indexify_version }} | |
indexify-cli build-default-image --python-version 3.13 | |
docker tag tensorlake/indexify-executor-default:3.13 tensorlake/indexify-executor-default:3.13-${{ inputs.indexify_version }} | |
docker push tensorlake/indexify-executor-default:3.13 tensorlake/indexify-executor-default:3.13-${{ inputs.indexify_version }} | |
indexify-cli build-image examples/pdf_document_extraction/images.py | |
indexify-cli build-image examples/pdf_structured_extraction/workflow.py | |
indexify-cli build-image examples/tweetsgenerator/workflow.py | |
indexify-cli build-image examples/pdf_structured_extraction/document_ai_api_version_workflow.py | |
docker push tensorlake/pdf-blueprint-st | |
docker push tensorlake/pdf-blueprint-lancdb | |
docker push tensorlake/pdf-blueprint-pdf-parser-gpu | |
docker push tensorlake/pdf-blueprint-download | |
docker push tensorlake/blueprints-chromadb | |
docker push tensorlake/blueprint-pdf-structured-extraction | |
docker push tensorlake/pdf-structured-extraction-inkwell-example | |
docker push tensorlake/base-image:3.10 | |
docker push tensorlake/base-image:3.11 | |
docker push tensorlake/openai-image:3.10 | |
docker push tensorlake/openai-image:3.11 |