nixos-images/.github/workflows/build.yml
dependabot[bot] 6a6e5ccc74
build(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 10:05:33 +00:00

28 lines
721 B
YAML

name: "Build"
on:
repository_dispatch:
workflow_dispatch:
push:
branches:
- main
jobs:
images:
strategy:
fail-fast: false
matrix:
tag:
- nixos-23.05
- nixos-unstable
os:
- nscloud-ubuntu-22.04-arm64-4x16
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
- name: Build image
run: ./build-images.sh "${{ matrix.tag }}" "$(nix eval --raw --impure --expr builtins.currentSystem)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}