vrnp/.gitea/workflows/build-container.yml
Paul Brinkmeier e8b1556770
Some checks failed
Build container / build-container (push) Failing after 3m27s
Add crane tool
2025-04-23 12:57:29 +02:00

24 lines
619 B
YAML

name: Build container
on: [push]
jobs:
build-container:
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- run: ls -l
- run: apt update && apt install sudo
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
enable_kvm: false
- name: Prefetch deps
run: nix flake prefetch
- name: Build container
run: nix build .#docker
- run: ls -l
- run: ls -l $(readlink -f result)
- name: Install crane
uses: iarekylew00t/crane-installer@v3
- run: crane push result