diff --git a/pkg/buildcontext/git.go b/pkg/buildcontext/git.go index 931a07089..7c2dddc6d 100644 --- a/pkg/buildcontext/git.go +++ b/pkg/buildcontext/git.go @@ -58,7 +58,7 @@ func (g *Git) UnpackTarFromBuildContext() (string, error) { func getGitPullMethod() string { gitPullMethod := os.Getenv(gitPullMethodEnvKey) if ok := supportedGitPullMethods[gitPullMethod]; !ok { - gitPullMethod = "https" + gitPullMethod = gitPullMethodHTTPS } return gitPullMethod }