Trigger Docker release workflow after new langchain release is made. (#11290)

We want to publish a new Docker image after a new langchain Python
package version is published.
pull/11382/head
Predrag Gruevski 8 months ago committed by GitHub
parent cdf5259ca9
commit 37f2f71156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,3 +11,16 @@ jobs:
with:
working-directory: libs/langchain
secrets: inherit
# N.B.: It's possible that PyPI doesn't make the new release visible / available
# immediately after publishing. If that happens, the docker build might not
# create a new docker image for the new release, since it won't see it.
#
# If this ends up being a problem, add a check to the end of the `_release.yml`
# workflow that prevents the workflow from finishing until the new release
# is visible and installable on PyPI.
release-docker:
needs:
- release
uses:
./.github/workflows/langchain_release_docker.yml

@ -3,6 +3,7 @@ name: docker/langchain/langchain Release
on:
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
workflow_call: # Allows triggering from another workflow
jobs:
release:

Loading…
Cancel
Save