mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 20:31:10 +00:00
Fix typo in build.go
This commit is contained in:
parent
4f0585bee3
commit
49b86f8047
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ func (b *Builder) writeDockerfile(dir string) error {
|
||||||
switch {
|
switch {
|
||||||
case strings.HasPrefix(b.Build.Image, "bradrydzewski/"),
|
case strings.HasPrefix(b.Build.Image, "bradrydzewski/"),
|
||||||
strings.HasPrefix(b.Build.Image, "drone/"):
|
strings.HasPrefix(b.Build.Image, "drone/"):
|
||||||
// the default user for all official Drone imnage
|
// the default user for all official Drone images
|
||||||
// is the "ubuntu" user, since all build images
|
// is the "ubuntu" user, since all build images
|
||||||
// inherit from the ubuntu cloud ISO
|
// inherit from the ubuntu cloud ISO
|
||||||
dockerfile.WriteUser("ubuntu")
|
dockerfile.WriteUser("ubuntu")
|
||||||
|
|
Loading…
Reference in a new issue