Skip to content

Commit dd7ae74

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 997aa74 commit dd7ae74

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)