Stick to the legacy docker-compose for now
Jekyll / test-ci-actions (push) Successful in 18s Details

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-22 16:22:52 +02:00
parent a73d5986bc
commit 797e87c126
1 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ jobs:
docker run --rm hello-world:latest > /dev/null docker run --rm hello-world:latest > /dev/null
docker rmi hello-world:latest > /dev/null docker rmi hello-world:latest > /dev/null
docker version docker version
docker compose version docker-compose version
docker volume ls docker volume ls
- name: Build Jekyll image - name: Build Jekyll image
id: build_image id: build_image
@ -42,9 +42,9 @@ jobs:
id: verify_image id: verify_image
run: | run: |
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$") 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 ." docker-compose run --rm --entrypoint bash -v "${VOL}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
- name: Build Jekyll site - name: Build Jekyll site
id: build_site id: build_site
run: | run: |
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$") VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
docker compose run --rm -v "${VOL}:/home/ubuntu/workspace" jekyll build --verbose docker-compose run --rm -v "${VOL}:/home/ubuntu/workspace" jekyll build --verbose