Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.07 KB

File metadata and controls

48 lines (37 loc) · 1.07 KB

Woodpecker CI - Git Clone plugin

For enable Trusted netrc:

alt text

You must retag your git-plugin

C:\> docker image tag \
            gecoit84/woodpecker-git-plugin:latest \
            woodpeckerci/plugin-git:latest

You must add to our pipeline

...
clone:
  - name: clone
    image: woodpeckerci/plugin-git
    pull: false

steps:
...
...
const (
	// DefaultClonePlugin can be changed by 'WOODPECKER_DEFAULT_CLONE_PLUGIN' at runtime.
	// renovate: datasource=docker depName=woodpeckerci/plugin-git
	DefaultClonePlugin = "docker.io/woodpeckerci/plugin-git:2.6.0"
)

// TrustedClonePlugins can be changed by 'WOODPECKER_PLUGINS_TRUSTED_CLONE' at runtime.
var TrustedClonePlugins = []string{
	DefaultClonePlugin,
	"docker.io/woodpeckerci/plugin-git",
	"quay.io/woodpeckerci/plugin-git",
}
...