From 201a49208a967ef1e17d068a322e81dd0fa20446 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Wed, 4 Nov 2026 17:17:19 -0800 Subject: [PATCH] ci: mount the real CasaOS app dir so the restart step can find knox (#8) --- .gitea/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 512e7d5..d06a5a4 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -46,10 +46,11 @@ jobs: container: image: docker:27-cli # The runner already injects /var/run/docker.sock (declaring it again is a - # duplicate mount error). /apps is whitelisted in valid_volumes and is - # where CasaOS keeps the compose files. + # duplicate mount error). CasaOS keeps app definitions under + # /var/lib/casaos/apps, which is whitelisted in the runner's valid_volumes; + # mount it at /apps so the restart step sees the installed compose file. volumes: - - /apps:/apps + - /var/lib/casaos/apps:/apps env: IMAGE: docker.notsosm.art/knox steps: