Skip to content

Do a full build

Do a full build #184

Workflow file for this run

name: Build
on:
push:
branches:
- main
- ci
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@v4
- run: nix build '.#nixosConfigurations.hcloud-kubernetes.config.system.build.toplevel'
prepare-arm64-runner:
#if: false
runs-on: ubuntu-24.04
steps:
- uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@v4
- run: nix run nixpkgs#nix-eval-jobs -- --gc-roots-dir gcroot --check-cache-status --flake '.#nixosConfigurations.install-image-orangepi5plus.config.system.build.toplevel'
- uses: simonswine/hetzner-github-runner@HEAD
with:
github-api-key: ${{ secrets.GH_API_KEY_RUNNER }}
hetzner-api-key: ${{ secrets.HETZNER_API_KEY }}
hetzner-instance-type: cax21
build-arm64:
#if: false
runs-on: self-hosted
needs: prepare-arm64-runner
steps:
- uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: packer-kubernetes-hcloud
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: actions/checkout@v4
- run: nix build '.#nixosConfigurations.install-image-orangepi5plus.config.system.build.toplevel'