mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-02 04:32:23 +00:00
Add some warning regarding the local backend (#875)
This commit is contained in:
parent
16cf59163e
commit
410b0bb217
1 changed files with 10 additions and 0 deletions
|
@ -1 +1,11 @@
|
|||
# Local backend
|
||||
|
||||
The local backend will execute the pipelines on the local system without any isolation of any kind.
|
||||
|
||||
Since the code run directly in the same context as the agent (same user, same filesystem), a malicious pipeline could
|
||||
be used to access the agent configuration especially the `WOODPECKER_AGENT_SECRET` variable.
|
||||
|
||||
It is recommended to use this backend only for private setup where the code and pipeline can be trusted. You shouldn't
|
||||
use it for a public facing CI where anyone can submit code or add new repositories.
|
||||
|
||||
The backend will use a random directory in $TMPDIR to store the clone code and execute commands.
|
||||
|
|
Loading…
Reference in a new issue