Switch default git plugin (#449)

* update pipeline samples

* update docs

* use woodpeckerci/plugin-git:latest as default

* code format nit
This commit is contained in:
6543
2021-10-15 19:54:28 -05:00
committed by GitHub
parent 4cc8594b63
commit 6828057f66
18 changed files with 23 additions and 22 deletions
+3 -3
View File
@@ -505,7 +505,7 @@ Woodpecker automatically configures a default clone step if not explicitly defin
```diff
+clone:
+ git:
+ image: plugins/git
+ image: woodpeckerci/plugin-git
pipeline:
build:
@@ -520,7 +520,7 @@ Example configuration to override depth:
```diff
clone:
git:
image: plugins/git
image: woodpeckerci/plugin-git
+ depth: 50
```
@@ -557,7 +557,7 @@ To use the ssh git url in `.gitmodules` for users cloning with ssh, and also use
```diff
clone:
git:
image: plugins/git
image: woodpeckerci/plugin-git
recursive: true
+ submodule_override:
+ my-module: https://github.com/octocat/my-module.git