mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-09-26 21:50:22 +00:00
More docs
This commit is contained in:
parent
8ed3643de2
commit
75310a6321
1 changed files with 3 additions and 0 deletions
|
@ -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"]`).
|
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`
|
### `environment`
|
||||||
|
|
||||||
Woodpecker provides the ability to pass environment variables to individual steps.
|
Woodpecker provides the ability to pass environment variables to individual steps.
|
||||||
|
|
Loading…
Reference in a new issue