fixup! WIP CI
Some checks failed
/ build (push) Failing after 0s

This commit is contained in:
Simon Bruder 2024-07-19 12:22:27 +02:00
parent b3dd1db2a1
commit 158bdde14f
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -5,26 +5,12 @@
on: [push] on: [push]
jobs: jobs:
ls: build:
runs-on: docker runs-on: nix
steps: steps:
- name: Prepare dependencies
run: apt-get update && apt-get install sudo
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v27
- name: Build - name: Build
run: nix build -L .#li7y .#li7y-oci
- name: Push OCI image
run: | run: |
nix build .#li7y-oci nix build .#li7y-oci
podman image load -i ./result podman image load -i ./result
- name: Push
id: push
uses: https://github.com/redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
username: simon
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Print image url
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"