We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3ec80 commit b1e0222Copy full SHA for b1e0222
sources/docker.go
@@ -71,9 +71,8 @@ func (s *docker) Run() error {
71
systemCtx := &types.SystemContext{
72
DockerInsecureSkipTLSVerify: types.OptionalBoolFalse,
73
}
74
- policy, err := signature.DefaultPolicy(systemCtx)
75
- if err != nil {
76
- return fmt.Errorf("Failed to create policy: %w", err)
+ policy := &signature.Policy{
+ Default: []signature.PolicyRequirement{signature.NewPRInsecureAcceptAnything()},
77
78
policyCtx, err := signature.NewPolicyContext(policy)
79
if err != nil {
0 commit comments