Skip to content

feat: make dockerfile use main an option - #69

Merged
dewabisma merged 1 commit into
mainfrom
beast/add-use-main-in-workflow
Jun 24, 2026
Merged

dewabisma merged 1 commit into
mainfrom
beast/add-use-main-in-workflow

Conversation

@dewabisma

@dewabisma dewabisma commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

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 overlays Dockerfile and .dockerignore from main before docker/build-push-action runs.

The previous step that automatically fell back to main when the tag had no Dockerfile is removed. Fallback is manual only; otherwise the tag’s Dockerfile is used as-is.

Reviewed by Cursor Bugbot for commit 4d53fff. Configure here.

@dewabisma
dewabisma requested review from illuzen and n13 June 24, 2026 09:18
@dewabisma
dewabisma merged commit d37f1dc into main Jun 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants