-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref: simplify docker build workflow #4294
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
btw, we can add an entrypoint to the default image if you like
@zzzming Any reason you think we'd want to keep the images separate in the future? |
Looks like langflow-frontend and langflow-backend have usage, 5k and 6k pulls respectively. Do we want to delete them? |
446d466
to
bf67c7d
Compare
This is addressed in the latest code. changes LGTM, nightly action passes https://github.com/langflow-ai/langflow/actions/runs/11710303423 +1 |
Docker Build: https://github.com/langflow-ai/langflow/actions/runs/11700357489/job/32584217961
This pull request includes significant updates to the Docker build and push workflows, primarily focusing on enhancing the flexibility and clarity of version and release type handling. The most important changes include renaming and adding new input parameters, updating job steps to accommodate these changes, and refining the tagging and versioning logic.
Enhancements to Input Parameters:
version
tomain_version
and addedbase_version
with detailed descriptions for better clarity. (.github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL5-R48)release_type
parameter to include more detailed descriptions and added aref
parameter to specify the reference to check out. (.github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL5-R48)Updates to Job Steps:
Resolve nightly tag
step and replaced it with a verification step to ensure a main version exists. (.github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL63-R126)Get Version to Tag
step to handle bothmain_version
andbase_version
appropriately based on the release type. (.github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL63-R126).github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL211-R187)Refinements to Tagging and Versioning Logic:
latest
tag for pre-releases. (.github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL186-R157).github/workflows/docker-build.yml
, .github/workflows/docker-build.ymlL174-R144)Changes to Release Workflow:
main_version
andbase_version
parameters, ensuring that both base and main versions are passed correctly. (.github/workflows/release.yml
, .github/workflows/release.ymlL192-R218)