use woodpeckerci/plugin-git:latest for clone (#617)

This commit is contained in:
6543 2021-12-18 23:05:25 +01:00 committed by GitHub
parent f4c73792f3
commit 3bd87cda66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}