Skip to content

Commit

Permalink
Update internal node release target
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Oct 3, 2024
1 parent 2ac0300 commit 0d4c1df
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,22 @@ group "node-group" {
targets = ["node", "nodeplugin"]
}

# Github public releases
group "node-group-release" {
targets = ["node-release", "nodeplugin-release"]
}

# CI builds
# Github CI builds
group "ci-release" {
targets = ["node-group", "batcher", "disperser", "encoder", "retriever", "churner", "dataapi"]
}

# internal devops builds
# Internal devops builds
group "internal-release" {
targets = ["batcher-release", "disperser-release", "encoder-release", "retriever-release", "churner-release", "dataapi-release"]
targets = ["node-internal", "batcher-release", "disperser-release", "encoder-release", "retriever-release", "churner-release", "dataapi-release"]
}


# DOCKER METADATA TARGET
# See https://github.com/docker/metadata-action?tab=readme-ov-file#bake-definition

target "docker-metadata-action" {}

# DISPERSER TARGETS

target "batcher" {
Expand Down Expand Up @@ -171,7 +167,6 @@ target "dataapi-release" {
# NODE TARGETS

target "node" {
inherits = ["docker-metadata-action"]
context = "."
dockerfile = "./Dockerfile"
target = "node"
Expand All @@ -183,15 +178,22 @@ target "node" {
tags = ["${REGISTRY}/${REPO}/node:${BUILD_TAG}"]
}

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

target "nodeplugin" {
inherits = ["docker-metadata-action"]
context = "."
dockerfile = "./Dockerfile"
target = "nodeplugin"
tags = ["${REGISTRY}/${REPO}/nodeplugin:${BUILD_TAG}"]
}

# RELEASE TARGETS
# PUBLIC RELEASE TARGETS

target "_release" {
platforms = ["linux/amd64", "linux/arm64"]
Expand Down

0 comments on commit 0d4c1df

Please sign in to comment.