feat: implement local puller and pusher #1301
style.yaml
on: pull_request
check goimports
36s
Lint
39s
Annotations
9 errors and 5 warnings
Lint:
pkg/v1/remote/artifact.go#L1
: # github.com/google/go-containerregistry/pkg/v1/remote [github.com/google/go-containerregistry/pkg/v1/remote.test]
|
Lint:
pkg/v1/remote/index_test.go#L56
undefined: withMediaType (typecheck)
|
Lint:
pkg/v1/remote/error_roundtrip_test.go#L29
could not import github.com/google/go-containerregistry/pkg/v1/remote (-: # github.com/google/go-containerregistry/pkg/v1/remote [github.com/google/go-containerregistry/pkg/v1/remote.test]
|
Lint:
pkg/v1/remote/index_test.go#L56
undefined: withMediaType) (typecheck)
|
Lint:
pkg/v1/layout/puller.go#L28
`(*puller).getDescriptor` - `ctx` is unused (unparam)
|
Lint:
cmd/crane/cmd/index.go#L172
printf: fmt.Errorf format %q arg desc.MediaType is a func value, not called (govet)
|
Lint:
cmd/crane/cmd/index.go#L237
printf: fmt.Errorf format %q arg desc.MediaType is a func value, not called (govet)
|
Lint:
pkg/v1/layout/layer.go#L18
ST1016: methods on the same type should have the same receiver name (seen 2x "lp", 2x "rl") (stylecheck)
|
Lint
issues found
|
check goimports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check goimports
Restore cache failed: Dependencies file is not found in /home/runner/work/go-containerregistry/go-containerregistry. Supported file pattern: go.sum
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint:
pkg/v1/layout/layer.go#L34
receiver-naming: receiver name rl should be consistent with previous receiver name lp for localLayer (revive)
|
Lint:
pkg/v1/layout/layer.go#L39
receiver-naming: receiver name rl should be consistent with previous receiver name lp for localLayer (revive)
|