diff --git a/cmd/create/imagebundle/image_bundle.go b/cmd/create/imagebundle/image_bundle.go index 46a66437..cc9e7868 100644 --- a/cmd/create/imagebundle/image_bundle.go +++ b/cmd/create/imagebundle/image_bundle.go @@ -147,6 +147,7 @@ func NewCommand(out output.Output) *cobra.Command { srcImageManifestList, skopeoStdout, skopeoStderr, err := skopeoRunner.InspectManifest( context.Background(), fmt.Sprintf("%s%s", srcSkopeoScheme, srcImageName), + skopeo.NoTags(), ) if err != nil { out.V(4). diff --git a/skopeo/skopeo.go b/skopeo/skopeo.go index d1a7d958..be925082 100644 --- a/skopeo/skopeo.go +++ b/skopeo/skopeo.go @@ -77,6 +77,12 @@ func All() SkopeoOption { } } +func NoTags() SkopeoOption { + return func() string { + return "--no-tags" + } +} + func IndexOnly() SkopeoOption { return func() string { return "--multi-arch=index-only"