mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-23 11:07:35 +02:00
use woodpeckerci/plugin-git:latest for clone (#617)
This commit is contained in:
parent
f4c73792f3
commit
3bd87cda66
@ -111,9 +111,7 @@ func (c *Compiler) Compile(conf *yaml.Config) *backend.Config {
|
|||||||
if !c.local && len(conf.Clone.Containers) == 0 && !conf.SkipClone {
|
if !c.local && len(conf.Clone.Containers) == 0 && !conf.SkipClone {
|
||||||
container := &yaml.Container{
|
container := &yaml.Container{
|
||||||
Name: "clone",
|
Name: "clone",
|
||||||
// TODO: switch to `:latest` once v1.1.0 got released
|
Image: "woodpeckerci/plugin-git:latest",
|
||||||
// https://github.com/woodpecker-ci/plugin-git/issues/3
|
|
||||||
Image: "woodpeckerci/plugin-git:next",
|
|
||||||
Settings: map[string]interface{}{"depth": "0"},
|
Settings: map[string]interface{}{"depth": "0"},
|
||||||
Environment: c.cloneEnv,
|
Environment: c.cloneEnv,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user