2021-05-28 16:51:41 +00:00
|
|
|
# Use this file from the top of the repo, with `-f ci/release-image/docker-bake.hcl`
|
|
|
|
|
|
|
|
# Uses env var VERSION if set;
|
|
|
|
# normally, this is set by ci/lib.sh
|
|
|
|
variable "VERSION" {
|
|
|
|
default = "latest"
|
|
|
|
}
|
|
|
|
|
|
|
|
group "default" {
|
2021-07-29 18:01:46 +00:00
|
|
|
targets = ["code-server"]
|
2021-05-28 16:51:41 +00:00
|
|
|
}
|
|
|
|
|
2021-07-29 18:01:46 +00:00
|
|
|
target "code-server" {
|
2021-05-28 16:51:41 +00:00
|
|
|
dockerfile = "ci/release-image/Dockerfile"
|
2021-07-29 18:01:46 +00:00
|
|
|
tags = ["docker.io/codercom/code-server:${VERSION}"]
|
|
|
|
platforms = ["linux/amd64", "linux/arm64"]
|
2021-05-28 16:51:41 +00:00
|
|
|
}
|