ci: mount the real CasaOS app dir so the restart step can find knox (#8)

This commit is contained in:
2026-11-04 17:17:19 -08:00
parent 7b92b411a5
commit 201a49208a
+4 -3
View File
@@ -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: