diff options
author | José Guilherme Vanz <jvanz@jvanz.com> | 2021-07-06 21:00:03 -0300 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-11-11 15:11:19 -0500 |
commit | 6762d5e2381d79c26ecabac8c83d31d1f49e1325 (patch) | |
tree | e14bef604ca3723c866b15691ba3a115ebd2997e /pkg/domain/infra/abi/images.go | |
parent | d6d89fa79f1cb785e2f3f6b8d2295b97b19066e9 (diff) | |
download | podman-6762d5e2381d79c26ecabac8c83d31d1f49e1325.tar.gz podman-6762d5e2381d79c26ecabac8c83d31d1f49e1325.tar.bz2 podman-6762d5e2381d79c26ecabac8c83d31d1f49e1325.zip |
--authfile command line argument for image sign command.
Adds the --authfile command line argument to allow users to use
alternative authfile paths when signing images.
Replaces: https://github.com/containers/podman/pull/10975
Fixes: https://github.com/containers/podman/issues/10866
Signed-off-by: José Guilherme Vanz <jvanz@jvanz.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/images.go')
-rw-r--r-- | pkg/domain/infra/abi/images.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 5c0227986..8b44b869a 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -641,6 +641,7 @@ func (ir *ImageEngine) Sign(ctx context.Context, names []string, options entitie } sc := ir.Libpod.SystemContext() sc.DockerCertPath = options.CertDir + sc.AuthFilePath = options.Authfile for _, signimage := range names { err = func() error { |