diff options
author | Qi Wang <qiwan@redhat.com> | 2020-09-21 18:10:36 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-12-11 14:15:56 -0500 |
commit | 6730556e2f6f98a2eef6914ffadabf8a46aef749 (patch) | |
tree | 5101540d3211e73855e87532432224cda9b22d30 /cmd/podman | |
parent | b0a287ce46ee8326d25efc1e3b9d690eb1e1bbab (diff) | |
download | podman-6730556e2f6f98a2eef6914ffadabf8a46aef749.tar.gz podman-6730556e2f6f98a2eef6914ffadabf8a46aef749.tar.bz2 podman-6730556e2f6f98a2eef6914ffadabf8a46aef749.zip |
Sign multi-arch images
podman image sign handles muti-arch images.
--all option to create signature for each manifest from the image manifest list.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/images/sign.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/sign.go b/cmd/podman/images/sign.go index 342536f7c..859d51d51 100644 --- a/cmd/podman/images/sign.go +++ b/cmd/podman/images/sign.go @@ -47,6 +47,7 @@ func init() { certDirFlagName := "cert-dir" flags.StringVar(&signOptions.CertDir, certDirFlagName, "", "`Pathname` of a directory containing TLS certificates and keys") _ = signCommand.RegisterFlagCompletionFunc(certDirFlagName, completion.AutocompleteDefault) + flags.BoolVarP(&signOptions.All, "all", "a", false, "Sign all the manifests of the multi-architecture image") } func sign(cmd *cobra.Command, args []string) error { |