Skip to content

feat: Support forked github workflow builds#400

Open
disaac wants to merge 2 commits into
lardbit:masterfrom
disaac:disaac/closes-issue-399-support-building-on-forked-repo-with-github-workflow
Open

feat: Support forked github workflow builds#400
disaac wants to merge 2 commits into
lardbit:masterfrom
disaac:disaac/closes-issue-399-support-building-on-forked-repo-with-github-workflow

Conversation

@disaac

@disaac disaac commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator
  • Updated the build.yml workflow to conditionally build and push docker image to ghcr if it is running on a forked version.
  • Added the PROJECT_MAINTAINER_REPO as an environment variable and determine whether its a fork and what to name the image based on this.
  • Instead of using run script to obtain tags using the docker/metadata-action maintaining the same conventions used. This would make additional tagging metadata easily addeded to the images if desired.
  • Updated all the github action versions to the latest major versions.
  • Using github outputs instead of environment variables in steps.

Closes Github Issue: #399

* Updated the build.yml workflow to conditionally build and push docker image to ghcr if it is running on a forked version.
* Added the PROJECT_MAINTAINER_REPO as an environment variable and determine whether its a fork and what to name the image based on this.
* Instead of using run script to obtain tags using the docker/metadata-action maintaining the same conventions used. This would make additional tagging metadata easily addeded to the images if desired.
* Updated all the github action versions to the latest major versions.
* Using github outputs instead of environment variables in steps.

Closes Github Issue: lardbit#399
@disaac disaac requested a review from lardbit July 10, 2026 17:55
* Updated the Dockerfile to properly reference the correct prebuilt frontend tag. Was previously hardcoded resulting in a nefarious image that used the wrong prebuilt image if built on a fork.

Fixes Github Issue: lardbit#399
@lardbit

lardbit commented Jul 12, 2026

Copy link
Copy Markdown
Owner

This sounds great. Did the test runs look and work ok on ghcr?

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