mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 09:51:01 +00:00
Bump default git clone plugin (#2215)
- and add alternate quay registry to trusted clone image - add alternate registry for buildx plugin
This commit is contained in:
parent
f2e31c6770
commit
0563d7a30f
2 changed files with 5 additions and 2 deletions
|
@ -23,6 +23,7 @@ import (
|
|||
"github.com/woodpecker-ci/woodpecker/pipeline/frontend/metadata"
|
||||
yaml_types "github.com/woodpecker-ci/woodpecker/pipeline/frontend/yaml/types"
|
||||
yaml_base_types "github.com/woodpecker-ci/woodpecker/pipeline/frontend/yaml/types/base"
|
||||
"github.com/woodpecker-ci/woodpecker/shared/constant"
|
||||
)
|
||||
|
||||
func TestSecretAvailable(t *testing.T) {
|
||||
|
@ -89,7 +90,7 @@ func TestCompilerCompile(t *testing.T) {
|
|||
Name: "test_clone",
|
||||
Alias: "clone",
|
||||
Type: backend_types.StepTypeClone,
|
||||
Image: "docker.io/woodpeckerci/plugin-git:2.1.0",
|
||||
Image: constant.DefaultCloneImage,
|
||||
OnSuccess: true,
|
||||
Failure: "fail",
|
||||
Volumes: []string{defaultVolumes[0].Name + ":"},
|
||||
|
|
|
@ -20,6 +20,7 @@ var PrivilegedPlugins = []string{
|
|||
"plugins/gcr",
|
||||
"plugins/ecr",
|
||||
"woodpeckerci/plugin-docker-buildx",
|
||||
"codeberg.org/woodpecker-plugins/docker-buildx",
|
||||
}
|
||||
|
||||
// DefaultConfigOrder represent the priority in witch woodpecker search for a pipeline config by default
|
||||
|
@ -32,9 +33,10 @@ var DefaultConfigOrder = [...]string{
|
|||
|
||||
const (
|
||||
// DefaultCloneImage can be changed by 'WOODPECKER_DEFAULT_CLONE_IMAGE' at runtime
|
||||
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.1.0"
|
||||
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.1.1"
|
||||
)
|
||||
|
||||
var TrustedCloneImages = []string{
|
||||
DefaultCloneImage,
|
||||
"quay.io/woodpeckerci/plugin-git",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue