Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jordanrfrazier
Copy link
Collaborator

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:

Updates to Job Steps:

Refinements to Tagging and Versioning Logic:

Changes to Release Workflow:

  • Modified the release workflow to use the new main_version and base_version parameters, ensuring that both base and main versions are passed correctly. (.github/workflows/release.yml, .github/workflows/release.ymlL192-R218)

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 26, 2024
@dosubot dosubot bot added the enhancement New feature or request label Oct 26, 2024
@@ -254,74 +224,9 @@ jobs:
# provenance: false will result in a single manifest for all platforms which makes the image pullable from arm64 machines via the emulation (e.g. Apple Silicon machines)
provenance: false

build_components:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ogabrielluiz I removed this step. I don't know what these images are used for.

Copy link
Contributor

@ogabrielluiz ogabrielluiz Oct 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, these were added to support deployment in DS LF, I'm not sure if they are used at all but I was hoping to create a template in Railway with a decoupled frontend so we could scale the backend with a reverse proxy like NGINX

Copy link
Contributor

@ogabrielluiz ogabrielluiz left a 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

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants