ci: mount the real CasaOS app dir so the restart step can find knox (#8)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user