From 3ddadc5326d6f7ba159495f135730ed817ce1989 Mon Sep 17 00:00:00 2001 From: cdoern Date: Wed, 9 Jun 2021 14:26:40 -0400 Subject: Image import fromSrc now supports OS/Arch added handling in entities and compat to support passing a specified OS/Arch while importing from SRC. fixes #10566 Signed-off-by: cdoern --- pkg/domain/infra/abi/images.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/domain/infra/abi') diff --git a/pkg/domain/infra/abi/images.go b/pkg/domain/infra/abi/images.go index 083566201..5992181d3 100644 --- a/pkg/domain/infra/abi/images.go +++ b/pkg/domain/infra/abi/images.go @@ -388,6 +388,8 @@ func (ir *ImageEngine) Import(ctx context.Context, options entities.ImageImportO importOptions.CommitMessage = options.Message importOptions.Tag = options.Reference importOptions.SignaturePolicyPath = options.SignaturePolicy + importOptions.OS = options.OS + importOptions.Architecture = options.Architecture if !options.Quiet { importOptions.Writer = os.Stderr -- cgit v1.2.3-54-g00ecf