2024-09-09 11:33:28 -05:00
|
|
|
name: build nixos-runner
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: nixos
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- run: nix build -L .#webserver
|
|
|
|
- run: mv result result-webserver
|
|
|
|
- run: nix build -L .#migrate
|
|
|
|
- run: mv result result-migrate
|
|
|
|
- run: nix build -L .#maintenance
|
|
|
|
- run: mv result result-maintenance
|
|
|
|
- run: nix build -L .#smtpd
|
|
|
|
- run: mv result result-smtpd
|
|
|
|
- run: nix build -L .#sendalerts
|
|
|
|
- run: mv result result-sendalerts
|
|
|
|
- run: nix build -L .#sendreports
|
|
|
|
- run: mv result result-sendreports
|
|
|
|
- run: nix build -L .#static
|
|
|
|
- run: mv result result-static
|
|
|
|
- run: |-
|
|
|
|
push-container result-webserver --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-webserver
|
|
|
|
push-container result-migrate --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-migrate
|
2024-09-09 11:53:31 -05:00
|
|
|
push-container result-maintenance --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-maintenance
|
2024-09-09 11:33:28 -05:00
|
|
|
push-container result-smtpd --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-smtpd
|
|
|
|
push-container result-sendalerts --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-sendalerts
|
|
|
|
push-container result-sendreports --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-sendreports
|
|
|
|
push-container result-static --repository ${{ secrets.FORGEJO_USERNAME }}/healthchecks-static
|
|
|
|
env:
|
|
|
|
REGISTRY: ${{ secrets.FORGEJO_REGISTRY }}
|
|
|
|
USERNAME: ${{ secrets.FORGEJO_USERNAME }}
|
|
|
|
PASSWORD: ${{ secrets.FORGEJO_PASSWORD }}
|