Skip to content

fix: make IMAGE_TAG available in buildArgs when used in docker FROM #3047

fix: make IMAGE_TAG available in buildArgs when used in docker FROM

fix: make IMAGE_TAG available in buildArgs when used in docker FROM #3047

Triggered via pull request January 14, 2025 22:36
Status Failure
Total duration 3m 59s
Artifacts

linters-checks.yml

on: pull_request
PR linters, checks
3m 51s
PR linters, checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L34
cannot use func(context.Context, *latest.Artifact) ([]string, error) {…} (value of type func("context".Context, *"github.com/GoogleContainerTools/skaffold/v2/pkg/skaffold/schema/latest".Artifact) ([]string, error)) as DependencyLister value in return statement
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L165
not enough arguments in call to newArtifactHasher(nil, depLister, test.mode).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L249
cannot use depLister (variable of type func(_ "context".Context, a *"github.com/GoogleContainerTools/skaffold/v2/pkg/skaffold/schema/latest".Artifact) ([]string, error)) as DependencyLister value in argument to newArtifactHasher
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L249
not enough arguments in call to newArtifactHasher(g, depLister, test.mode).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L312
not enough arguments in call to newArtifactHasher(nil, stubDependencyLister(nil), test.mode).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L319
not enough arguments in call to newArtifactHasher(nil, stubDependencyLister(nil), test.mode).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L326
not enough arguments in call to newArtifactHasher(nil, stubDependencyLister(nil), test.mode).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L359
not enough arguments in call to newArtifactHasher(nil, depLister, config.RunModes.Build).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L369
not enough arguments in call to newArtifactHasher(nil, depLister, config.RunModes.Build).hash
PR linters, checks: pkg/skaffold/build/cache/hash_test.go#L426
not enough arguments in call to newArtifactHasher(nil, depLister, config.RunModes.Build).hash
PR linters, checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PR linters, checks
Restore cache failed: Dependencies file is not found in /home/runner/work/skaffold/skaffold. Supported file pattern: go.sum