li7y/.forgejo/workflows/build.yaml

25 lines
628 B
YAML
Raw Normal View History

2024-07-19 15:29:24 +02:00
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
on:
push:
branches:
- master
jobs:
build:
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: nix build -L .#li7y .#li7y-oci
- name: Push OCI image
run: |
nix build .#li7y-oci
podman image load -i ./result
podman tag li7y git.sbruder.de/simon/li7y:latest
2024-07-19 21:23:48 +02:00
podman login --username simon --password "$GITHUB_TOKEN" git.sbruder.de
2024-07-19 15:29:24 +02:00
podman push git.sbruder.de/simon/li7y:latest