li7y/.forgejo/workflows/build.yaml
Simon Bruder ca4ff112e8
All checks were successful
/ build (push) Successful in 5s
fixup! WIP CI
2024-07-19 15:13:38 +02:00

22 lines
617 B
YAML

# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
on: [push]
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 login --username simon --password "${{ secrets.REGISTRY_PASSWORD }}" git.sbruder.de
podman tag li7y git.sbruder.de/simon/li7y:latest
podman push git.sbruder.de/simon/li7y:latest