mirror of
https://github.com/containers/podman.git
synced 2025-06-17 23:20:59 +08:00
Support auth file environment variable in podman build
Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user