GoogleContainerTools / GoogleContainerTools/skaffold

Cannot install via `go install`

Open
#9,327 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

### Expected behavior
I expect to be able to install this program using `go install github.com/GoogleContainerTools/skaffold/v2@v2.10.1` or any version
### Actual behavior
Go fails to fetch the package from the module because it is not found within a `v2` directory. Everything is in a flat filesystem.

```
go: github.com/GoogleContainerTools/skaffold/v2@v2.10.1: module github.com/GoogleContainerTools/skaffold/v2@v2.10.1 found, but does not contain package github.com/GoogleContainerTools/skaffold/v2
```

I expect them to be following the pattern in https://go.dev/blog/v2-go-modules

### Information

- Skaffold version: v2.10.1
- Operating system: `Linux fedora 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024 x86_64 GNU/Linux`
- Installed via: go install
- Contents of skaffold.yaml: N/A

### Steps to reproduce the behavior

1. `go install github.com/GoogleContainerTools/skaffold/v2@v2.10.1`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.