jib icon indicating copy to clipboard operation
jib copied to clipboard

Allow building OCI tars with multiple tags.

Open TadCordle opened this issue 6 years ago • 4 comments

This should just a matter of replacing

index.addManifest(manifestDescriptor, imageReference.toStringWithTag());

with

for (String tag : allTargetImageTags) {
  index.addManifest(manifestDescriptor, imageReference.withTag(tag).toStringWithTag());
}

in ImageTarball. Just need a way to test that it works before doing this.

Relevant: opencontainers/image-spec#796, containers/libpod#4646.

TadCordle avatar Dec 05 '19 21:12 TadCordle

what about this issue?

lfarkas avatar Feb 11 '20 16:02 lfarkas

@lfarkas podman doesn't support this (https://github.com/containers/libpod/issues/4646). We may go ahead and do this, but there's no way to know if this ever works. Are you aware of any tool that can accept an OCI tar format other than podman?

chanseokoh avatar Feb 11 '20 16:02 chanseokoh

no we use podman...and we can wait until it'll be fixed.

lfarkas avatar Feb 11 '20 20:02 lfarkas

FYI the podman issue is here: https://github.com/containers/libpod/issues/4646

TadCordle avatar Feb 12 '20 00:02 TadCordle