Merge pull request #122 from nix-community/ci

also enable arm64 in github ci
This commit is contained in:
Jörg Thalheim 2023-08-04 20:50:52 +01:00 committed by GitHub
commit fcbf0b7c6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,16 @@ jobs:
tag:
- nixos-23.05
- nixos-unstable
runs-on: ubuntu-latest
os:
- nscloud-ubuntu-22.04-arm64-4x16
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
- name: Build image
run: ./build-images.sh "${{matrix.tag}}"
run: ./build-images.sh "${{ matrix.tag }}" "$(nix eval --raw --impure --expr builtins.currentSystem)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}