Hack to share the volume between the task containers
Jekyll / test-ci-actions (push) Failing after 20s Details

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-22 16:08:33 +02:00
parent 496c140246
commit af8978018e
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ jobs:
- name: Verify Jekyll container
id: verify_image
run: |
docker-compose run --rm --entrypoint bash jekyll -c "whoami; pwd; ls -lA ."
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions")
docker-compose run --rm --entrypoint bash -v "${VOL}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
- name: Build Jekyll site
id: build_site
run: |