From a779addee0662996c3d503cae7563cb4d3ea0abb Mon Sep 17 00:00:00 2001 From: Silvio Giebl Date: Tue, 16 Jan 2024 00:04:42 +0100 Subject: [PATCH] temp --- .../io/github/sgtsilvio/gradle/oci/OciRegistryDataTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciRegistryDataTask.kt b/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciRegistryDataTask.kt index 613ca82e..fab616d7 100644 --- a/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciRegistryDataTask.kt +++ b/src/main/kotlin/io/github/sgtsilvio/gradle/oci/OciRegistryDataTask.kt @@ -29,7 +29,7 @@ abstract class OciRegistryDataTask : OciImagesInputTask() { val repositoriesDirectory = registryDataDirectory.resolve("repositories").createDirectory() for ((digest, layer) in digestToLayer) { - blobsDirectory.resolveDigestFile(digest).createLinkPointingTo(layer.toPath()) + blobsDirectory.resolveDigestFile(digest).createSymbolicLinkPointingTo(layer.toPath()) } for ((resolvedComponent, imageReferences) in resolvedComponentToImageReferences) { writeImage(resolvedComponent, imageReferences, blobsDirectory, repositoriesDirectory)