mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 04:06:54 +00:00
Merge pull request #720 from floatdrop/hostname-in-drone-yml
Add hostname in docker section of .drone.yml
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user