Update examples/docker-compose/README.md (#494)

The container for the "docker-cli" label defined in the compose file does not contain the bash shell in it, and the forgejo runner defaults to that, with apparently no fall-back to sh if bash is not found in the $PATH.  Thus, the demo_docker.yml example will fail to run unless you specifically define the shell to sh.  This corrects the example to specifically use sh instead of bash for the docker-cli example.

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/494
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: Nitrousoxide <nitrousoxide@noreply.code.forgejo.org>
Co-committed-by: Nitrousoxide <nitrousoxide@noreply.code.forgejo.org>
main
Nitrousoxide 2025-02-27 14:28:53 +00:00 committed by earl-warren
parent ee24670e39
commit e5e28d16a5
No known key found for this signature in database
GPG Key ID: F128CBE6AB3A7201
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ jobs:
runs-on: docker-cli runs-on: docker-cli
steps: steps:
- run: docker info - run: docker info
shell: sh
``` ```
A wait loop expects the status of the check associated with the A wait loop expects the status of the check associated with the