mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-04 14:13:29 +00:00
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.
This commit is contained in:
parent
cdf5259ca9
commit
37f2f71156
13
.github/workflows/langchain_release.yml
vendored
13
.github/workflows/langchain_release.yml
vendored
@ -11,3 +11,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
working-directory: libs/langchain
|
working-directory: libs/langchain
|
||||||
secrets: inherit
|
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:
|
on:
|
||||||
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
|
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
|
||||||
|
workflow_call: # Allows triggering from another workflow
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
Loading…
Reference in New Issue
Block a user