fix: try using debian container.
Some checks failed
default / build (push) Failing after 14s

This commit is contained in:
CronyAkatsuki 2026-01-23 17:52:35 +01:00
parent f3bd794ff0
commit 5d2a0e01ae
2 changed files with 6 additions and 5 deletions

View file

@ -7,13 +7,15 @@ env:
jobs:
build:
runs-on: native
runs-on: debian-latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .#nixosConfigurations.bragi.config.system.build.toplevel
- run: nix build .#nixosConfigurations.thor.config.system.build.toplevel
- run: nix build .#nixosConfigurations.odin.config.system.build.toplevel
- run: nix build .#nixosConfigurations.freyja.config.system.build.toplevel
- run: |
attic login actions https://cache.cronyakatsuki.xyz ${{ secrets.ATTIC_TOKEN }}
attic push system result -j 2
nix run github:zhaofengli/attic#default login actions https://cache.cronyakatsuki.xyz ${{ secrets.ATTIC_TOKEN }}
nix run github:zhaofengli/attic#default push system result -j 2

View file

@ -13,9 +13,8 @@
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
tokenFile = config.age.secrets.forgejo-runner-token.path;
labels = [
"node:docker://node:22-bookworm"
"nix:docker://forgejo-runner-nix"
## optionally provide native execution on the host:
"debian-latest:docker://node:18-bullseye"
"native:host"
];
hostPackages = with pkgs; [