Skip to content

feat: implement local puller and pusher #1301

feat: implement local puller and pusher

feat: implement local puller and pusher #1301

Triggered via pull request February 17, 2024 01:05
Status Failure
Total duration 48s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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/golangci-lint-action@v3.4.0. 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)