li7y/.forgejo/workflows/build.yaml

20 lines
431 B
YAML
Raw Normal View History

2024-07-14 20:51:30 +02:00
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
on: [push]
jobs:
2024-07-19 12:22:27 +02:00
build:
runs-on: nix
2024-07-14 20:51:30 +02:00
steps:
2024-07-19 12:31:28 +02:00
- name: Checkout
uses: actions/checkout@v4
- name: Push OCI image
2024-07-14 20:51:30 +02:00
- name: Build
2024-07-19 12:22:27 +02:00
run: nix build -L .#li7y .#li7y-oci
- name: Push OCI image
2024-07-14 20:51:30 +02:00
run: |
nix build .#li7y-oci
podman image load -i ./result