From 4e6e4f91e0054687a3c67882351edb4326efadaa Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Wed, 23 Apr 2025 12:19:13 +0200 Subject: [PATCH] Add install nix and build container steps --- .gitea/workflows/build-container.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-container.yml b/.gitea/workflows/build-container.yml index 1973175..8ccaf64 100644 --- a/.gitea/workflows/build-container.yml +++ b/.gitea/workflows/build-container.yml @@ -1,10 +1,16 @@ -name: Gitea Actions Demo +name: Build container on: [push] jobs: build-container: - runs-on: node-22-bookworm + runs-on: ubuntu-22.04 steps: - - run: echo echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - name: Checkout repo uses: actions/checkout@v4 - run: ls -l + - name: Install Nix + uses: cachix/install-nix-action@v31 + with: + enable_kvm: false + - name: Build container + run: nix build .#docker + - run: find result/*