feat: support more options of containers

This commit is contained in:
Jason Song
2022-11-18 16:09:51 +08:00
committed by Jason Song
parent 97629ae8af
commit b9c20dcaa4
5 changed files with 11 additions and 2 deletions

View File

@@ -130,6 +130,7 @@ func (sd *stepDocker) newStepContainer(ctx context.Context, image string, cmd []
Privileged: rc.Config.Privileged,
UsernsMode: rc.Config.UsernsMode,
Platform: rc.Config.ContainerArchitecture,
AutoRemove: rc.Config.AutoRemove,
})
return stepContainer
}