Skip to content

Commit

Permalink
updated docket bake
Browse files Browse the repository at this point in the history
  • Loading branch information
arunbluez committed Dec 6, 2024
1 parent ec79f15 commit e7a9377
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,21 @@ group "default" {
targets = ["flux1-dev"]
}

target "base" {
context = "."
dockerfile = "Dockerfile"
target = "base"
platforms = ["linux/amd64"]
tags = ["${DOCKERHUB_REPO}/${DOCKERHUB_IMG}:${RELEASE_VERSION}-base"]
}
target "flux1-dev" {
context = "."
dockerfile = "Dockerfile"
target = "final"
platforms = ["linux/amd64"]
args = {
MODEL_TYPE = "flux1-dev"
HUGGINGFACE_ACCESS_TOKEN = "${HUGGINGFACE_ACCESS_TOKEN}"
}
tags = ["${DOCKERHUB_REPO}/${DOCKERHUB_IMG}:${RELEASE_VERSION}-flux1-dev"]
inherits = ["base"]
}
}

0 comments on commit e7a9377

Please sign in to comment.