Switch to running in docker
Some checks failed
Some checks failed
This commit is contained in:
parent
99d6d591be
commit
d6a4b11bac
1 changed files with 8 additions and 4 deletions
|
|
@ -2,8 +2,12 @@ name: Buill NixOS Configurations
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build-NixOS-Configurations:
|
build:
|
||||||
runs-on: nix-builder
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: node:25
|
||||||
|
volumes:
|
||||||
|
- "/nix:/nix"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
system:
|
system:
|
||||||
|
|
@ -19,5 +23,5 @@ jobs:
|
||||||
nix build .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|
nix build .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|
||||||
- name: Push build to attic
|
- name: Push build to attic
|
||||||
run: |
|
run: |
|
||||||
attic login gospel https://attic.kilonull.com ${{ secrets.ATTIC_PUSH_SECRET }}
|
nix run nixpkgs#attic-client -- login gospel https://attic.kilonull.com ${{ secrets.ATTIC_PUSH_SECRET }}
|
||||||
attic push gospel:nixosConfigs ./result
|
nix run nixpkgs#attic-client -- push gospel:nixosConfigs ./result
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue