mirror of
https://github.com/containers/skopeo.git
synced 2025-07-15 15:32:12 +00:00
inspect.go: inspect env variables
Update the inspect command to show the environment variables Signed-off-by: José Guilherme Vanz <jvanz@jvanz.com>
This commit is contained in:
parent
ee9e9dfc89
commit
a778e595b3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user