Some checks failed
Buill NixOS Configurations / build (carbon) (push) Failing after 1m4s
Buill NixOS Configurations / build (git) (push) Failing after 54s
Buill NixOS Configurations / build (gospel) (push) Failing after 1m6s
Buill NixOS Configurations / build (node) (push) Failing after 58s
30 lines
985 B
YAML
30 lines
985 B
YAML
name: Buill NixOS Configurations
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: node:25
|
|
volumes:
|
|
- "/nix:/nix"
|
|
strategy:
|
|
matrix:
|
|
system:
|
|
- "carbon"
|
|
- "git"
|
|
- "gospel"
|
|
- "node"
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- run: |
|
|
echo 'Building configuration for ${{ matrix.system }}'
|
|
nix --extra-experimental-features nix-command --extra-experimental-features flakes \
|
|
build .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel
|
|
- name: Push build to attic
|
|
run: |
|
|
nix --extra-experimental-features nix-command run nixpkgs#attic-client \
|
|
-- login gospel https://attic.kilonull.com ${{ secrets.ATTIC_PUSH_SECRET }}
|
|
nix --extra-experimental-features nix-command run nixpkgs#attic-client \
|
|
-- push gospel:nixosConfigs ./result
|