Only inject netrc to trusted clone plugins (#1352)

Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
6543
2023-03-20 21:17:49 +01:00
committed by GitHub
parent 7870c29f5f
commit e28b43ab19
11 changed files with 68 additions and 8 deletions

View File

@@ -35,3 +35,7 @@ const (
// DefaultCloneImage can be changed by 'WOODPECKER_DEFAULT_CLONE_IMAGE' at runtime
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.0.3"
)
var TrustedCloneImages = []string{
DefaultCloneImage,
}