Skip to content

Commit

Permalink
Add controller to docker bake (Layr-Labs#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
yujiezhu0 authored Dec 5, 2024
1 parent 44680a6 commit f76b942
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ group "all" {
"retriever",
"churner",
"dataapi",
"traffic-generator"
"traffic-generator",
"controller"
]
}

Expand All @@ -65,7 +66,8 @@ group "ci-release" {
"encoder",
"retriever",
"churner",
"dataapi"
"dataapi",
"controller"
]
}

Expand All @@ -79,7 +81,8 @@ group "internal-release" {
"retriever-internal",
"churner-internal",
"dataapi-internal",
"traffic-generator-internal"
"traffic-generator-internal",
"controller-internal"
]
}

Expand Down Expand Up @@ -227,6 +230,21 @@ target "dataapi-internal" {
]
}

target "controller" {
context = "."
dockerfile = "./Dockerfile"
tags = ["${REGISTRY}/${REPO}/controller:${BUILD_TAG}"]
}

target "controller-internal" {
inherits = ["controller"]
tags = [
"${REGISTRY}/eigenda-controller:${BUILD_TAG}",
"${REGISTRY}/eigenda-controller:${GIT_SHA}",
"${REGISTRY}/eigenda-controller:sha-${GIT_SHORT_SHA}"
]
}

# NODE TARGETS
target "node" {
context = "."
Expand Down

0 comments on commit f76b942

Please sign in to comment.