fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job
The build-and-deploy-ci job failed because /apps/euchre_camp_ci/docker-compose.yml was not accessible inside the job container. Add volume mounts for /apps and the docker socket so the job can read the CI compose file and run docker compose commands. Requires runner config.yaml with valid_volumes for /apps and /var/run/docker.sock.
This commit is contained in:
@@ -37,6 +37,9 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: docker.notsosm.art/euchre-camp/ci-base:latest
|
image: docker.notsosm.art/euchre-camp/ci-base:latest
|
||||||
options: --user root
|
options: --user root
|
||||||
|
volumes:
|
||||||
|
- /apps:/apps
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
Reference in New Issue
Block a user