2021-06-10 09:32:56 +02:00
|
|
|
name: "Build"
|
2021-06-10 08:10:06 +02:00
|
|
|
on:
|
|
|
|
repository_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '51 2 * * 0'
|
|
|
|
jobs:
|
|
|
|
images:
|
2021-06-10 08:10:56 +02:00
|
|
|
strategy:
|
2022-12-12 11:43:55 +01:00
|
|
|
fail-fast: false
|
2021-06-10 08:10:56 +02:00
|
|
|
matrix:
|
|
|
|
tag:
|
2022-12-01 16:46:20 +01:00
|
|
|
- nixos-22.11
|
2021-06-10 08:10:56 +02:00
|
|
|
- nixos-unstable
|
2022-12-12 11:39:44 +01:00
|
|
|
- master
|
2021-06-10 08:10:06 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-07 11:18:19 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-10-17 12:16:45 +02:00
|
|
|
- uses: cachix/install-nix-action@v18
|
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
|
|
|
|
run: ./build-images.sh "${{matrix.tag}}"
|
2021-06-10 08:40:28 +02:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|