Description:
The current GitHub Actions workflow has a few limitations that hinder development speed and cross-platform compatibility:
- Architecture: We currently only target
amd64, making it difficult for users on ARM-based systems (like Apple Silicon) to use the images natively.
- Dependency Management: The
npm install step is fragmented between the YAML and the build script.
- Tooling: Version parsing relies on
jq, which may not be present in every environment.
Proposed Changes:
- Integrate
docker/setup-qemu-action to allow cross-compilation.
- Update all GitHub Actions to their latest stable versions (v3/v4).
- Centralize build logic within
fablo-build.sh using npm ci for consistent builds.
- Use
node to parse package.json versions to reduce external dependencies.
Description:
The current GitHub Actions workflow has a few limitations that hinder development speed and cross-platform compatibility:
amd64, making it difficult for users on ARM-based systems (like Apple Silicon) to use the images natively.npm installstep is fragmented between the YAML and the build script.jq, which may not be present in every environment.Proposed Changes:
docker/setup-qemu-actionto allow cross-compilation.fablo-build.shusingnpm cifor consistent builds.nodeto parsepackage.jsonversions to reduce external dependencies.