From 4c8c42baf3f48f94e4232a38c211aa944bf9b89e Mon Sep 17 00:00:00 2001 From: JuLi0n21 Date: Mon, 2 Mar 2026 21:45:45 +0100 Subject: [PATCH] another attempt to fix --- .github/workflows/docker-build.yml | 3 ++- src/pages/index.astro | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 679311f..a5b9af4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -16,7 +16,8 @@ jobs: uses: docker/setup-buildx-action@v3 with: driver-opts: network=host - + buildkitd-flags: '--allow-insecure-entitlement network.host' + - name: Login to Private Registry uses: docker/login-action@v3 with: diff --git a/src/pages/index.astro b/src/pages/index.astro index 450c105..b25a71a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -19,10 +19,10 @@ if (response.ok) { const middle = Math.round(files.length / 2); shuffeld = files.slice(0,middle); images = files.slice(middle); -} else { - console.error("FAILED TO FETCH"); + } else { + console.error("FAILED TO FETCH", response.status, response.message); process.exit(1); -} + } ---