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:
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user