Skip to content

Commit

Permalink
[BLD] trigger hosted release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Dec 9, 2024
1 parent 1110d07 commit e874a1b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release-chromadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,30 @@ jobs:
push: true
tags: "${{ env.GHCR_IMAGE_NAME }}:${{ needs.get-version.outputs.version }},${{ env.DOCKERHUB_IMAGE_NAME }}:${{ needs.get-version.outputs.version }},${{ env.GHCR_IMAGE_NAME }}:latest,${{ env.DOCKERHUB_IMAGE_NAME }}:latest"

release-hosted:
name: Release to Chroma Cloud
runs-on: ubuntu-latest
needs:
- release-docker
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Trigger Hosted Chroma FE Release
uses: actions/github-script@v6
with:
github-token: ${{ secrets.HOSTED_CHROMA_WORKFLOW_DISPATCH_TOKEN }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'chroma-core',
repo: 'hosted-chroma',
workflow_id: 'deploy-data-plane.yaml',
ref: 'main',
inputs: {
"oss-sha": "${{ github.sha }}",
}
})
release-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
Expand Down

0 comments on commit e874a1b

Please sign in to comment.