mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 05:09:46 +00:00
Fix typo in build.go
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user