Skip to content

Commit

Permalink
seednodeDockerImage: Add dependency to generateDockerFileTask
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Oct 17, 2023
1 parent ec0bd4d commit f7e3737
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand All @@ -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)
}
Expand Down

0 comments on commit f7e3737

Please sign in to comment.