Merge pull request #2028 from marcosnils/feat/detect_platform

Automatically detect target platform based on buildkit worker
This commit is contained in:
Andrea Luzzardi
2022-04-05 12:04:22 -07:00
committed by GitHub
4 changed files with 46 additions and 17 deletions

View File

@@ -123,7 +123,7 @@ func (p *Plan) configPlatform() error {
}
// Set platform to context
err = p.context.Platform.Set(platform)
err = p.context.Platform.SetString(platform)
if err != nil {
return err
}