Skip to content

Commit

Permalink
Cleanup OciPushTask
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Jul 10, 2024
1 parent 9258ee8 commit 50be16c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,9 @@ abstract class OciPushTask @Inject constructor(
}
val index = multiArchImage.index
for (tag in tags) {
val indexMediaType = index.mediaType
val indexBytes = index.bytes
CompletableFuture.allOf(*manifestFutures.toTypedArray()).thenRun {
context.pushService.get()
.pushManifest(context, imageName, tag, indexMediaType, indexBytes, null)
.pushManifest(context, imageName, tag, index.mediaType, index.bytes, null)
}
}
}
Expand Down

0 comments on commit 50be16c

Please sign in to comment.