seednodeDockerImage: Add dependency to generateDockerFileTask

This commit is contained in:
Alva Swanson 2023-10-17 18:17:43 +02:00
parent ec0bd4db9d
commit f7e3737100
No known key found for this signature in database
GPG Key ID: 004760E77F753090

View File

@ -26,7 +26,7 @@ class DockerImageBuilderPlugin : Plugin<Project> {
into(seednodeBuildDir)
}
project.tasks.register<CreateDockerfileTask>("generateDockerfile") {
val generateDockerFileTask = project.tasks.register<CreateDockerfileTask>("generateDockerfile") {
archiveFileName.set(distTarTask.flatMap { it.archiveFileName })
val classpathFiles: Provider<List<String>> = installDistTask.map { syncTask ->
@ -40,7 +40,7 @@ class DockerImageBuilderPlugin : Plugin<Project> {
}
project.tasks.register<DockerBuildTask>("seednodeDockerImage") {
dependsOn(copyTask)
dependsOn(copyTask, generateDockerFileTask)
imageTag.set("bisq/seednode:latest")
dockerDirectory.set(seednodeBuildDir)
}