forked from Kong/kong-build-tools-base-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
31 lines (27 loc) · 956 Bytes
/
docker-bake.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
group "default" {
targets = ["apk", "rpm", "deb"]
}
variable "TAG" {default="" }
target "apk" {
dockerfile = "Dockerfile.apk"
platforms = ["linux/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x"]
tags = [
"ghcr.io/hutchic-org/kong-build-tools-base-images:apk",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:apk-${TAG}": ""
]
}
target "rpm" {
dockerfile = "Dockerfile.rpm"
platforms = ["linux/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x"]
tags = [
"ghcr.io/hutchic-org/kong-build-tools-base-images:rpm",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:rpm-${TAG}": ""
]
}
target "deb" {
dockerfile = "Dockerfile.deb"
platforms = ["linux/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x"]
tags = [ "ghcr.io/hutchic-org/kong-build-tools-base-images:deb",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:deb-${TAG}": ""
]
}