-
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@0b0e072294b088b73964f1d72dfdac0951439dbd # v31
with:
nix_path: nixpkgs=channel:nixos-25.05
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 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@0b0e072294b088b73964f1d72dfdac0951439dbd # v31
with:
nix_path: nixpkgs=channel:nixos-25.05
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: nix build '.#nixosConfigurations.install-image-orangepi5plus.config.system.build.toplevel'