We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6668920 + 366c488 commit 1c98f09Copy full SHA for 1c98f09
1 file changed
pkg/gitreceive/build.go
@@ -142,7 +142,12 @@ func build(
142
return fmt.Errorf("running %s (%s)", strings.Join(tarCmd.Args, " "), err)
143
}
144
145
- bType := getBuildTypeForDir(tmpDir)
+ var bType buildType
146
+ if buildPackURL != "" {
147
+ bType = buildTypeProcfile
148
+ } else {
149
+ bType = getBuildTypeForDir(tmpDir)
150
+ }
151
usingDockerfile := bType == buildTypeDockerfile
152
153
appTgzdata, err := ioutil.ReadFile(absAppTgz)
0 commit comments