From a778e595b36091c75ed3297ddf31f78ef6e93268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Guilherme=20Vanz?= Date: Fri, 9 Aug 2019 13:23:46 -0300 Subject: [PATCH] inspect.go: inspect env variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the inspect command to show the environment variables Signed-off-by: José Guilherme Vanz --- cmd/skopeo/inspect.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/skopeo/inspect.go b/cmd/skopeo/inspect.go index 95ff5002..ad415356 100644 --- a/cmd/skopeo/inspect.go +++ b/cmd/skopeo/inspect.go @@ -28,6 +28,7 @@ type inspectOutput struct { Architecture string Os string Layers []string + Env []string } type inspectOptions struct { @@ -142,6 +143,7 @@ func (opts *inspectOptions) run(args []string, stdout io.Writer) (retErr error) Architecture: imgInspect.Architecture, Os: imgInspect.Os, Layers: imgInspect.Layers, + Env: imgInspect.Env, } outputData.Digest, err = manifest.Digest(rawManifest) if err != nil {