Initial commit
This commit is contained in:
commit
297e6bfaf9
5 changed files with 94 additions and 0 deletions
25
docker-bake.hcl
Normal file
25
docker-bake.hcl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
variable "REG" {
|
||||
default = "git.snrd.eu"
|
||||
}
|
||||
variable "REPO" {
|
||||
default = "sunred/vlang"
|
||||
}
|
||||
|
||||
group "default" {
|
||||
targets = ["alpine-base", "alpine"]
|
||||
}
|
||||
target "alpine-base" {
|
||||
output = ["type=docker"]
|
||||
dockerfile = "base/Dockerfile.alpine"
|
||||
tags = ["${REG}/${REPO}:alpine-base"]
|
||||
#platforms = ["linux/amd64", "linux/arm64"]
|
||||
}
|
||||
target "alpine" {
|
||||
output = ["type=docker"]
|
||||
dockerfile = "Dockerfile.alpine"
|
||||
tags = ["${REG}/${REPO}:alpine"]
|
||||
#platforms = ["linux/amd64", "linux/arm64"]
|
||||
contexts = {
|
||||
"git.snrd.eu/sunred/vlang:alpine-base": "target:alpine-base"
|
||||
}
|
||||
}
|
||||
Reference in a new issue