diff options
author | Qi Wang <qiwan@redhat.com> | 2018-10-15 12:57:30 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2018-10-23 09:08:58 -0400 |
commit | cc27cd35a6621195bc7493ce93fbc4d04527e229 (patch) | |
tree | fc8d9be6cbdc5a0615facdb62ff0f79d29b29234 /cmd/podman | |
parent | 3a45fd1115ae752e3737afef64491311dc229c3d (diff) | |
download | podman-cc27cd35a6621195bc7493ce93fbc4d04527e229.tar.gz podman-cc27cd35a6621195bc7493ce93fbc4d04527e229.tar.bz2 podman-cc27cd35a6621195bc7493ce93fbc4d04527e229.zip |
Support auth file environment variable in podman build
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/build.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/build.go b/cmd/podman/build.go index 424f9d471..14bf226f9 100644 --- a/cmd/podman/build.go +++ b/cmd/podman/build.go @@ -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 |