Fix task input for docker build (#49814)

The docker build task depends on the docker context being built, but it
was not explicitly setup as an input. This commit adds the task as an
input to the docker build.

relates #49613
This commit is contained in:
Ryan Ernst 2019-12-04 11:56:37 -08:00 committed by Ryan Ernst
parent 91ac87d75b
commit ce2ca3bd3d

View File

@ -151,7 +151,7 @@ check.dependsOn integTest
void addBuildDockerImage(final boolean oss, final boolean ubi) {
final Task buildDockerImageTask = task(taskName("build", oss, ubi, "DockerImage"), type: LoggedExec) {
dependsOn taskName("copy", oss, ubi, "DockerContext")
inputs.files(tasks.named(taskName("copy", oss, ubi, "DockerContext")))
List<String> tags
if (oss) {
tags = [