Add some warning regarding the local backend (#875)

This commit is contained in:
mscherer 2022-04-07 17:50:37 +02:00 committed by GitHub
parent 16cf59163e
commit 410b0bb217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.