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
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v ${{ vars.DEPLOY_DIR }}/backend:/app \
|
-v ${{ vars.DEPLOY_DIR }}:/src \
|
||||||
-w /app \
|
-w /src/backend \
|
||||||
golang:1.25-alpine \
|
golang:1.25-alpine \
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user