diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index ecc7ada5dcb90..0f821d85e93b6 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -574,6 +574,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