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
commit cde41c0b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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