Repository navigation
feat: make dockerfile use main an option - #69
Merged
Merged
Conversation
illuzen
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Previously always use the tag Dockerfile, this put in dilemma when the tag dockerfile is buggy even though there is problem with the codebase.
So, now we can manually choose to use the main branch Dockerfile to be used instead of the default of using tag Dockerfile.
Note
Low Risk
CI-only change to a manually triggered workflow; default build behavior is unchanged unless the new input is set.
Overview
The Docker Image workflow_dispatch job now accepts
use_main_dockerfile(boolean, default false). When enabled, the build still checks out the target release tag for source but overlaysDockerfileand.dockerignorefrommainbeforedocker/build-push-actionruns.The previous step that automatically fell back to
mainwhen the tag had noDockerfileis removed. Fallback is manual only; otherwise the tag’sDockerfileis used as-is.Reviewed by Cursor Bugbot for commit 4d53fff. Configure here.