Skip to content

Custom docker build via github action#23

Merged
grasdk merged 21 commits intofeature/custom-docker-buildfrom
feature/custombuild
Jan 4, 2026
Merged

Custom docker build via github action#23
grasdk merged 21 commits intofeature/custom-docker-buildfrom
feature/custombuild

Conversation

@grasdk
Copy link
Owner

@grasdk grasdk commented Jan 4, 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.

grasdk and others added 21 commits January 3, 2026 13:47
New workflow for building test-images manually using github actions.
* Added a build-from-commit_id github actions workflow to be manually triggered (#17)

* Feature/build from commit (#18)

* Added a build-from-commit_id github actions workflow to be manually triggered

* updated the build-yml with bugfix for tar-mode. Added contributing description

* Extended dscription

* multi arch build for tar

* build tar for 1 architecture and support semver

* Added versioning note and renamed build-file

* update run-name

* only build alpine

* change fetch depth to build from history dockerfile

* change fetch depth to build from history dockerfile (#19)

* fixed armv7 option

* fix filenaming

* removed tar building. only publish to docker-hub. Update version in package.json

* overwriting version in the release json instead

* update usage guide on the 3.0.0-pre_alpha release workflow

* and publish

* update to documentation

* updated description

* update workflow and updated description

* fixing
* Added a build-from-commit_id github actions workflow to be manually triggered (#17)

* Feature/build from commit (#18)

* Added a build-from-commit_id github actions workflow to be manually triggered

* updated the build-yml with bugfix for tar-mode. Added contributing description

* Extended dscription

* multi arch build for tar

* build tar for 1 architecture and support semver

* Added versioning note and renamed build-file

* update run-name

* only build alpine

* change fetch depth to build from history dockerfile

* change fetch depth to build from history dockerfile (#19)

* fixed armv7 option

* fix filenaming

* removed tar building. only publish to docker-hub. Update version in package.json

* overwriting version in the release json instead

* update usage guide on the 3.0.0-pre_alpha release workflow

* and publish

* update to documentation

* updated description

* update workflow and updated description

* fixing

* ad
@grasdk grasdk merged commit af4f0e8 into feature/custom-docker-build Jan 4, 2026
5 checks passed
@grasdk grasdk deleted the feature/custombuild branch January 4, 2026 10:54
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