From db260115a9549081c95d4fe596cae8c146120f07 Mon Sep 17 00:00:00 2001 From: steffen Date: Sat, 14 Mar 2026 15:38:42 +0100 Subject: [PATCH] fix SD image CI: use find -L to follow symlinks in Nix store The built image is a symlink in the Nix store. find with -type f skips symlinks, causing 'No image found' error. --- .forgejo/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 9ff2d49..f1b3692 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -46,7 +46,7 @@ jobs: --extra-platforms aarch64-linux \ --out-link result-${{ matrix.host }} - IMAGE_PATH=$(find result-${{ matrix.host }} -name "*.img.zst" -type f | head -1) + IMAGE_PATH=$(find -L result-${{ matrix.host }} -name "*.img.zst" | head -1) if [ -z "$IMAGE_PATH" ]; then echo "Error: No image found!" exit 1