Merge pull request #720 from floatdrop/hostname-in-drone-yml

Add hostname in docker section of .drone.yml
This commit is contained in:
Brad Rydzewski
2014-12-14 23:18:06 -08:00
3 changed files with 45 additions and 0 deletions

View File

@@ -315,6 +315,7 @@ func (b *Builder) teardown() error {
func (b *Builder) run() error {
// create and run the container
conf := docker.Config{
Hostname: script.DockerHostname(b.Build.Docker),
Image: b.image.ID,
AttachStdin: false,
AttachStdout: true,