Skip to content

Custom docker build via github action#24

Merged
grasdk merged 1 commit intomasterfrom
feature/custom-docker-build
Jan 6, 2026
Merged

Custom docker build via github action#24
grasdk merged 1 commit intomasterfrom
feature/custom-docker-build

Conversation

@grasdk
Copy link
Owner

@grasdk grasdk commented Jan 6, 2026

Needed a fast and easy way to generate docker images for my pi3b, without setting up a build environment on the pi itself. Also didn't want the hassle of QEMU, så used github actions instead. To make images, I use the fact that they're created when using the github actions module "docker/build-push-action@v5".

Added various optional input to control the build and tried to make it future proof, by having it detect supported architectures and node versions from the source code and from the availability of both base images and packages.

Incidentally that also causes the workflow to be able to build older versions of pigallery2. I have done a few pin point tests since they are good test material. Had success with several versions.

Needed a fast and easy way to generate docker images for my pi3b, without setting up a build environment on the pi itself. Also didn't want the hassle of QEMU, så used github actions instead. To make images, I use the fact that they're created when using the github actions module "docker/build-push-action@v5".

Added various optional input to control the build and tried to make it future proof, by having it detect supported architectures and node versions from the source code and from the availability of both base images and packages.

Incidentally that also causes the workflow to be able to build older versions of pigallery2. I have done a few pin point tests since they are good test material. Had success with several versions.
@grasdk grasdk merged commit 56ac93a into master Jan 6, 2026
7 checks passed
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Pull Request Test Coverage Report for Build 20757118838

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 68.244%

Totals Coverage Status
Change from base Build 20691708573: 0.0%
Covered Lines: 5356
Relevant Lines: 7585

💛 - Coveralls

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.

1 participant