1
0
Fork 0
alertmanager-ntfy/.forgejo/workflows/build.yaml

23 lines
559 B
YAML
Raw Normal View History

2024-08-11 19:02:39 +00:00
name: Image Build
on:
workflow_dispatch:
2024-08-11 19:31:36 +00:00
push:
2024-08-11 19:02:39 +00:00
jobs:
prepare:
name: Prepare to Build
runs-on: ubuntu-latest-docker
container:
image: node:18
steps:
2024-08-11 19:29:26 +00:00
- name: Install deps
2024-08-11 19:29:55 +00:00
run: apt update && apt -y install sudo
2024-08-11 19:26:56 +00:00
- uses: actions/checkout@v4
- name: Install Nix
2024-08-11 19:45:19 +00:00
uses: https://github.com/DeterminateSystems/nix-installer-action@v12
2024-08-11 19:43:54 +00:00
- name: Run the Magic Nix Cache
2024-08-11 19:45:19 +00:00
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7
2024-08-11 19:26:56 +00:00
- name: Build release
2024-08-11 19:37:23 +00:00
run: nix build .#container --impure