Skip to content

Commit 8fd6f2d

Browse files
committed
Merge pull request #161 from arschles/fix-slug-url
fix(pkg/gitreceive/build.go): send the entire slug URL to the controller
2 parents c1a419c + aa5868e commit 8fd6f2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ func build(conf *Config, s3Client *s3.S3, kubeClient *client.Client, builderKey,
217217
}
218218
if !usingDockerfile {
219219
buildHook.Dockerfile = ""
220+
// need this to tell the controller what URL to give the slug runner
221+
buildHook.Image = slugBuilderInfo.PushURL() + "/slug.tgz"
220222
} else {
221223
buildHook.Dockerfile = "true"
222224
}

0 commit comments

Comments
 (0)