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