mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
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:
parent
91ac87d75b
commit
ce2ca3bd3d
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user