mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
use woodpeckerci/plugin-git:latest for clone (#617)
This commit is contained in:
parent
f4c73792f3
commit
3bd87cda66
1 changed files with 2 additions and 4 deletions
|
@ -110,10 +110,8 @@ func (c *Compiler) Compile(conf *yaml.Config) *backend.Config {
|
|||
// add default clone step
|
||||
if !c.local && len(conf.Clone.Containers) == 0 && !conf.SkipClone {
|
||||
container := &yaml.Container{
|
||||
Name: "clone",
|
||||
// TODO: switch to `:latest` once v1.1.0 got released
|
||||
// https://github.com/woodpecker-ci/plugin-git/issues/3
|
||||
Image: "woodpeckerci/plugin-git:next",
|
||||
Name: "clone",
|
||||
Image: "woodpeckerci/plugin-git:latest",
|
||||
Settings: map[string]interface{}{"depth": "0"},
|
||||
Environment: c.cloneEnv,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue