mirror of
https://github.com/containers/podman.git
synced 2025-06-18 15:39:08 +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 {
|
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
|
||||||
|
Reference in New Issue
Block a user