diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index f60555ff7c96c..577e5c16a811c 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -652,6 +652,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