From 686c4624a315f7d65798a805af2141e5247d9c1e Mon Sep 17 00:00:00 2001 From: humocs-man Date: Sun, 14 Jun 2026 19:49:11 +0000 Subject: [PATCH] .gitea/workflows/build.yml aktualisiert another try --- .gitea/workflows/build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2ba12ca..8eaa350 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,7 +12,6 @@ env: IMAGE_DESC: "Custom Fedora bootc image" IMAGE_NAME: "${{ github.event.repository.name }}" DEFAULT_TAG: "stable" - # Erzwingt die Verwendung von Node 24 für alle JavaScript-Actions FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" concurrency: @@ -23,10 +22,6 @@ jobs: build_push: name: Build and push image runs-on: ubuntu-24.04 - # WICHTIG: Diese Umgebungsvariablen lösen den "unshare"-Fehler - env: - BUILDAH_ISOLATION: chroot - STORAGE_DRIVER: vfs permissions: contents: read packages: write @@ -46,6 +41,12 @@ jobs: sudo apt-get update sudo apt-get install -y buildah + # NEU: Erzwingt vfs-Speicher für DinD-Umgebungen + - name: Configure Buildah Storage + run: | + mkdir -p ~/.config/containers + echo -e '[storage]\ndriver = "vfs"' > ~/.config/containers/storage.conf + - name: Checkout uses: actions/checkout@v4 @@ -94,6 +95,10 @@ jobs: - name: Build Image (Buildah) id: build_image uses: redhat-actions/buildah-build@v2 + # NEU: Umgebungsvariablen direkt hier für den Build-Schritt + env: + BUILDAH_ISOLATION: chroot + STORAGE_DRIVER: vfs with: context: . containerfiles: ./Containerfile