Support auth file environment variable in podman build

Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
Qi Wang
2018-10-15 12:57:30 -04:00
parent 3a45fd1115
commit cc27cd35a6

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