Dockerize changedetection.io #201
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: machines | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
mishy: | |
runs-on: ubuntu-latest | |
steps: | |
# - name: Maximize build space | |
# uses: AdityaGarg8/remove-unwanted-software@v4.1 | |
# with: | |
# remove-dotnet: 'true' | |
# remove-android: 'true' | |
# remove-haskell: 'true' | |
# remove-codeql: 'true' | |
# remove-docker-images: 'true' | |
# | |
# Filesystem on /mnt for some reason has more space on GitHub action | |
# runner than / | |
- name: Bind mount /nix | |
run: | | |
sudo mkdir /mnt/nix /nix | |
sudo chmod 0755 /nix | |
sudo mount --bind /mnt/nix /nix | |
# - name: Set swap space | |
# uses: pierotofy/set-swap-space@master | |
# with: | |
# swap-size-gb: 10 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#mishy" | |
run: | | |
nix build .#nixosConfigurations.mishy.config.system.build.toplevel | |
# FIXME: Runs out of the allotted time limit for a job (6 hours). | |
# pilab: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Install Nix | |
# uses: cachix/install-nix-action@v27 | |
# with: | |
# extra_nix_config: "extra-platforms = aarch64-linux" | |
# - name: Clone Repository | |
# uses: actions/checkout@v4 | |
# - name: Set up QEMU | |
# uses: docker/setup-qemu-action@v3 | |
# - name: Set up Docker Buildx | |
# uses: docker/setup-buildx-action@v3 | |
# - name: "Build: .#pilab" | |
# run: | | |
# nix build .#nixosConfigurations.pilab.config.system.build.toplevel | |
clawsiecats: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: "Build: .#clawsiecats-minimal" | |
run: | | |
nix build .#nixosConfigurations.clawsiecats-minimal.config.system.build.toplevel | |
- name: "Build: .#clawsiecats" | |
run: | | |
nix build .#nixosConfigurations.clawsiecats.config.system.build.toplevel | |
- name: "Build: .#clawsiecats-luks" | |
run: | | |
nix build .#nixosConfigurations.clawsiecats-luks.config.system.build.toplevel | |
keyberry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: "extra-platforms = aarch64-linux" | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: "Build: .#keyberry" | |
run: | | |
nix build .#nixosConfigurations.keyberry.config.system.build.toplevel | |
stashy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: "extra-platforms = aarch64-linux" | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: "Build: .#stashy" | |
run: | | |
nix build .#nixosConfigurations.stashy.config.system.build.toplevel | |
zerostash: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: "extra-platforms = aarch64-linux" | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: "Build: .#zerostash" | |
run: | | |
nix build .#nixosConfigurations.zerostash.config.system.build.toplevel | |
mangoshake: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: "extra-platforms = aarch64-linux" | |
- name: Clone Repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: "Build: .#mangoshake" | |
run: | | |
nix build .#nixosConfigurations.mangoshake.config.system.build.toplevel |