Merge pull request #1646 from QiWang19/addenvbud

Support auth file environment variable in podman build
This commit is contained in:
OpenShift Merge Robot
2018-10-23 17:04:17 -07:00
committed by GitHub

View File

@@ -184,7 +184,7 @@ func buildCmd(c *cli.Context) error {
if err != nil {
return errors.Wrapf(err, "error building system context")
}
systemContext.AuthFilePath = getAuthFile(c.String("authfile"))
commonOpts, err := parse.CommonBuildOptions(c)
if err != nil {
return err