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>
This commit is contained in:
parent
098e2c0586
commit
346b693bc7
1 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,9 @@ runs:
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
extra-substituters = https://cache.nixos.org/ ${{ inputs.attic-endpoint }}/ci ${{ inputs.attic-endpoint }}/toph
|
extra-substituters = https://cache.nixos.org/ ${{ inputs.attic-endpoint }}/ci ${{ inputs.attic-endpoint }}/toph
|
||||||
extra-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ci:db8ZBxd5cjqoGzOYThRQcxj4XnaqHJZBZw1phCQOiz8= toph:E/oP7KyljH/yprI5LArxNPpSlQCdo29sMOkh3jm53Yg=
|
extra-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ci:db8ZBxd5cjqoGzOYThRQcxj4XnaqHJZBZw1phCQOiz8= toph:E/oP7KyljH/yprI5LArxNPpSlQCdo29sMOkh3jm53Yg=
|
||||||
|
build-users-group =
|
||||||
|
max-jobs = auto
|
||||||
|
cores = 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Build OCI image with Nix
|
- name: Build OCI image with Nix
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue