diff --git a/pipeline/frontend/yaml/compiler/compiler_test.go b/pipeline/frontend/yaml/compiler/compiler_test.go index 5f0736393..bfae44eef 100644 --- a/pipeline/frontend/yaml/compiler/compiler_test.go +++ b/pipeline/frontend/yaml/compiler/compiler_test.go @@ -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 + ":"}, diff --git a/shared/constant/constant.go b/shared/constant/constant.go index 5e4e4ff8b..3d46ee769 100644 --- a/shared/constant/constant.go +++ b/shared/constant/constant.go @@ -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", }