Merge pull request #1548 from crazy-max/git-ls-remote

build: set remote origin url
This commit is contained in:
CrazyMax
2023-01-26 11:03:18 +01:00
committed by GitHub
4 changed files with 98 additions and 4 deletions

View File

@ -26,7 +26,7 @@ func setupTest(tb testing.TB) {
gitutil.GitAdd(c, tb, "Dockerfile")
gitutil.GitCommit(c, tb, "initial commit")
gitutil.GitSetRemote(c, tb, "git@github.com:docker/buildx.git")
gitutil.GitSetRemote(c, tb, "origin", "git@github.com:docker/buildx.git")
}
func TestGetGitAttributesNotGitRepo(t *testing.T) {