Skip to content

Commit 4e216c1

Browse files
hack/build-image: disable archive command for indexes
Ignore index targets if `--combined` is passed along with `--archive=<dir>`. Signed-off-by: John Mulligan <[email protected]>
1 parent a7e608f commit 4e216c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/build-image

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ def push(cli, target):
778778

779779
def archive(cli, target, location):
780780
"""Write tarballs to archive location."""
781+
if isinstance(target, TargetIndex):
782+
return # ignore indexes/manifests
781783
_autobuild(cli, target)
782784

783785
eng = container_engine(cli)

0 commit comments

Comments
 (0)