nixos-images/.github/workflows/build.yml

26 lines
575 B
YAML
Raw Normal View History

2021-06-10 09:32:56 +02:00
name: "Build"
2021-06-10 08:10:06 +02:00
on:
repository_dispatch:
workflow_dispatch:
2022-12-19 14:01:03 +01:00
push:
branches:
- main
2021-06-10 08:10:06 +02:00
jobs:
images:
2022-12-16 15:54:13 +01:00
strategy:
fail-fast: false
matrix:
tag:
- nixos-22.11
- nixos-unstable
2021-06-10 08:10:06 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v21
2021-06-10 08:10:06 +02:00
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
- name: Build image
2022-12-16 15:54:13 +01:00
run: ./build-images.sh "${{matrix.tag}}"
2021-06-10 08:40:28 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}