More docs

This commit is contained in:
qwerty287 2024-03-25 15:49:30 +01:00
parent 8ed3643de2
commit 75310a6321
No known key found for this signature in database
GPG key ID: 1218A32A886A5002

View file

@ -160,6 +160,9 @@ Only build steps can define commands. You cannot use commands with plugins or se
Allows you to specify the entrypoint for containers. Note that this must be a list of the command and its arguments (e.g. `["/bin/sh", "-c"]`).
If you define [`commands`](#commands), the default entrypoint will be `["/bin/sh", "-c", "echo $CI_SCRIPT | base64 -d | /bin/sh -e"]`.
You can also use a custom shell with `CI_SCRIPT` (Base64-encoded) if you set `commands`.
### `environment`
Woodpecker provides the ability to pass environment variables to individual steps.