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: container:
image: docker:27-cli image: docker:27-cli
# The runner already injects /var/run/docker.sock (declaring it again is a # The runner already injects /var/run/docker.sock (declaring it again is a
# duplicate mount error). /apps is whitelisted in valid_volumes and is # duplicate mount error). CasaOS keeps app definitions under
# where CasaOS keeps the compose files. # /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: volumes:
- /apps:/apps - /var/lib/casaos/apps:/apps
env: env:
IMAGE: docker.notsosm.art/knox IMAGE: docker.notsosm.art/knox
steps: steps: