diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/sign.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/podman/sign.go b/cmd/podman/sign.go index 790b6031d..8a31ddb98 100644 --- a/cmd/podman/sign.go +++ b/cmd/podman/sign.go @@ -126,7 +126,10 @@ func signCmd(c *cli.Context) error { sigStoreDir = SignatureStoreDir } - repos := newImage.RepoDigests() + repos, err := newImage.RepoDigests() + if err != nil { + return errors.Wrapf(err, "error calculating repo digests for %s", signimage) + } if len(repos) == 0 { logrus.Errorf("no repodigests associated with the image %s", signimage) continue |