Skip to content

Commit

Permalink
chore(release): fix pipy release
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousben committed Dec 19, 2024
1 parent 9f90d4e commit 6d53656
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publish_executor_containers.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Publish Example Executor Containers
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:
Expand Down
25 changes: 5 additions & 20 deletions .github/workflows/publish_indexify_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,11 @@ jobs:
with:
packages-dir: python-sdk/dist/

build-and-push-docker-images:
name: Build and Push Docker Executor
runs-on: ubuntu-latest
publish-containers:
name: Publish Containers
needs:
- extract-version
- publish-indexify-to-pypi
steps:
- uses: actions/checkout@v4
- 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: |
# wait for the indexify-cli to be available
sleep 60
- uses: ./.github/workflows/publish_executor_containers.yaml
with:
indexify_version: ${{ needs.extract-version.outputs.version }}
uses: ./.github/workflows/publish_executor_containers.yaml
with:
indexify_version: ${{ needs.extract-version.outputs.version }}

0 comments on commit 6d53656

Please sign in to comment.