-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 1.29 KB
/
Copy pathbuild.yml
File metadata and controls
33 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build
on:
push:
branches:
- main
- ci
jobs:
build-amd64:
runs-on: ubuntu-24.04
steps:
- uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
with:
nix_path: nixpkgs=channel:nixos-25.05
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix build '.#nixosConfigurations.hcloud-kubernetes.config.system.build.toplevel'
build-arm64:
runs-on: ubuntu-24.04-arm
steps:
- uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
with:
nix_path: nixpkgs=channel:nixos-25.05
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@1eb2ef646ac0255473d23a5907ad7b04ce94065c # v17
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: nix build '.#nixosConfigurations.install-image-orangepi5plus.config.system.build.toplevel'