diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index 90e0a9383f753..690f4efcf35d1 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -668,6 +668,11 @@ subprojects { Project subProject -> dependsOn compressExportTask } + tasks.named('assemble').configure { + dependsOn exportTask + } + + // deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin artifacts.add('default', file(tarFile)) { type = 'tar' name = artifactName