fix: use full docker path in nsenter commands
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 3m7s
Run Tests / Backend Tests (push) Failing after 2m8s
Run Tests / Frontend Tests (push) Failing after 4m44s
Run Tests / Test Summary (push) Failing after 7m37s

This commit is contained in:
Gan, Jimmy
2026-04-04 10:42:37 +08:00
parent f21f129a48
commit 78aff7523e
+3 -3
View File
@@ -65,6 +65,6 @@ jobs:
- name: Deploy dev
run: |
export DOCKER_API_VERSION=1.43
# Use nsenter to run in host network namespace (requires privileged runner)
nsenter -t 1 -n docker rm -f nas-dashboard-dev || true
nsenter -t 1 -n docker compose -f /volume1/docker/nas-dashboard/docker-compose.dev.yml up -d --pull never
# Use nsenter with full docker path to run in host network namespace
nsenter -t 1 -n /volume1/@appstore/ContainerManager/usr/bin/docker rm -f nas-dashboard-dev || true
nsenter -t 1 -n /volume1/@appstore/ContainerManager/usr/bin/docker compose -f /volume1/docker/nas-dashboard/docker-compose.dev.yml up -d --pull never