summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2018-10-15 12:57:30 -0400
committerQi Wang <qiwan@redhat.com>2018-10-23 09:08:58 -0400
commitcc27cd35a6621195bc7493ce93fbc4d04527e229 (patch)
treefc8d9be6cbdc5a0615facdb62ff0f79d29b29234 /cmd/podman
parent3a45fd1115ae752e3737afef64491311dc229c3d (diff)
downloadpodman-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.go2
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