Merge pull request #302 from nix-community/2411 #333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
images: | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: | |
- nixos-24.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@v30 | |
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 }} |