Support custom steps entrypoint (#2985)

Closes https://github.com/woodpecker-ci/woodpecker/issues/278

---------

Co-authored-by: Anbraten <anton@ju60.de>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
qwerty287
2024-01-19 05:34:02 +01:00
committed by GitHub
parent 9f215ab932
commit d1d2e9723d
11 changed files with 32 additions and 10 deletions

View File

@@ -156,6 +156,10 @@ docker run --entrypoint=build.sh golang
Only build steps can define commands. You cannot use commands with plugins or services.
:::
### `entrypoint`
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"]`).
### `environment`
Woodpecker provides the ability to pass environment variables to individual steps.