WIP CI
Some checks failed
/ ls (push) Failing after 15s

This commit is contained in:
Simon Bruder 2024-07-14 20:51:30 +02:00
parent 6bc66daed8
commit 4adc767cf4
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
on: [push]
jobs:
ls:
runs-on: docker
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
run: |
nix build .#i7y-container
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 }}"