summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-23 17:04:17 -0700
committerGitHub <noreply@github.com>2018-10-23 17:04:17 -0700
commitcde41c0b84e55a4325937f9c577afa6ccc129b9a (patch)
tree3e5354f1027c2a7c8e9c7ab2839b5d674e4ae7a7 /cmd/podman
parentbf80717904d0a7b7128ffa3949f0e6d744761770 (diff)
parentcc27cd35a6621195bc7493ce93fbc4d04527e229 (diff)
downloadpodman-cde41c0b84e55a4325937f9c577afa6ccc129b9a.tar.gz
podman-cde41c0b84e55a4325937f9c577afa6ccc129b9a.tar.bz2
podman-cde41c0b84e55a4325937f9c577afa6ccc129b9a.zip
Merge pull request #1646 from QiWang19/addenvbud
Support auth file environment variable in podman build
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