From 4d7ff234579870d1e1885ce0701bdca539d2c7ab Mon Sep 17 00:00:00 2001 From: "Christoph K." Date: Tue, 7 Apr 2026 20:57:32 +0200 Subject: [PATCH] Fix CI test: mount DEPLOY_DIR instead of subdirectory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker daemon can't bind-mount a subdirectory that it can't independently verify — mount the parent and set -w /src/backend instead. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c4efa0c..4e31bb7 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -26,8 +26,8 @@ jobs: - name: Test run: | docker run --rm \ - -v ${{ vars.DEPLOY_DIR }}/backend:/app \ - -w /app \ + -v ${{ vars.DEPLOY_DIR }}:/src \ + -w /src/backend \ golang:1.25-alpine \ go test ./...