Commit graph

3 commits

Author SHA1 Message Date
346b693bc7
fix: use single-user Nix builds in docker-build-nix
Set build-users-group to empty to disable multi-user builds,
which require nixbld group and build users. This allows the
action to work in single-user Nix environments like containers.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 12:20:47 +01:00
098e2c0586
fix: enable Nix experimental features in docker-build-nix
Add Nix config step to enable nix-command and flakes features
before building. Also configures Attic substituters for faster builds.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 12:14:30 +01:00
b163ffa64b
feat: add docker-build-nix action for reproducible OCI images
Add reusable action for building Docker images with Nix flakes:
- Full reproducibility with Nix derivations
- Attic cache integration for build artifacts
- Optimized layering with dockerTools.buildLayeredImage
- Automatic Nix binary cache usage

Use this instead of docker-build when you want:
- Bit-for-bit identical builds
- Better caching via Attic/Nix
- Smaller, optimized images

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 12:11:29 +01:00