diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-13 13:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 13:10:48 +0100 |
commit | 8f3fb743ee57964594b36fdffb7b8fc5e3ca3371 (patch) | |
tree | 7ed656fefe7ed96a7c8484d774d901d625a420ae /pkg/domain | |
parent | 78bc2390f4d03ef4b179b129c69b5332c30692ce (diff) | |
parent | 6762d5e2381d79c26ecabac8c83d31d1f49e1325 (diff) | |
download | podman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.tar.gz podman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.tar.bz2 podman-8f3fb743ee57964594b36fdffb7b8fc5e3ca3371.zip |
Merge pull request #12270 from rhatdan/auth
--authfile command line argument for image sign command.
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/entities/images.go | 1 | ||||
-rw-r--r-- | pkg/domain/infra/abi/images.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go index 7583ce442..54f7b5d45 100644 --- a/pkg/domain/entities/images.go +++ b/pkg/domain/entities/images.go @@ -373,6 +373,7 @@ type SignOptions struct { Directory string SignBy string CertDir string + Authfile string All bool } 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 { |