Fix CI test: mount DEPLOY_DIR instead of subdirectory
Some checks failed
Deploy to NAS / deploy (push) Failing after 14s
Some checks failed
Deploy to NAS / deploy (push) Failing after 14s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user