From ac9fa93a2df0b5dfc8c4c0253b12c8acfdd186c1 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 11 Jun 2026 21:02:15 +0200 Subject: [PATCH] Try to use nixos host runner --- .gitea/workflows/build.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 064591a..a9ee99a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,19 +16,11 @@ env: jobs: build-and-push: # We use the standard ubuntu-latest to build our custom runner - runs-on: ubuntu-latest + runs-on: nixos steps: - name: Checkout repository uses: actions/checkout@v4 - # --- Lower MTU to prevent packet drops on large Nix layers --- - - name: Adjust MTU to fix Docker push timeouts - run: | - # Find the active network interface and lower its MTU - INTERFACE=$(ip route | grep default | awk '{print $5}') - echo "Lowering MTU on interface: $INTERFACE" - sudo ip link set dev $INTERFACE mtu 1400 - # Gitea Actions automatically provides a token that can push to its own registry - name: Log in to the Container registry uses: docker/login-action@v3