-
Notifications
You must be signed in to change notification settings - Fork 120
79 lines (72 loc) · 3.66 KB
/
publish_executor_containers.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Publish Executor Containers
on:
workflow_call:
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
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
docker push 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
docker push 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
docker push 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
docker push 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