-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
56 lines (46 loc) · 1.28 KB
/
docker-bake.hcl
File metadata and controls
56 lines (46 loc) · 1.28 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
## https://docs.docker.com/build/bake/
## https://docs.docker.com/reference/cli/docker/buildx/bake/#set
## https://github.com/crazy-max/buildx#remote-with-local
## https://github.com/docker/metadata-action
## Special target: https://github.com/docker/metadata-action#bake-definition
target "docker-metadata-action" {}
target "_image" {
inherits = ["docker-metadata-action"]
}
target "_common" {
labels = {
"org.opencontainers.image.source" = "https://git.jetsung.com/idev/predeldomain"
"org.opencontainers.image.documentation" = "https://git.jetsung.com/idev/predeldomain"
"org.opencontainers.image.authors" = "Jetsung Chan<i@jetsung.com>"
}
context = "."
dockerfile = "Dockerfile"
platforms = ["linux/amd64"]
}
target "default" {
inherits = ["_common"]
tags = [
"predeldomain:local",
]
}
group "dev" {
targets = ["dev-amd64", "dev-arm64"]
}
target "dev" {
inherits = ["_common", "_image"]
}
target "dev-amd64" {
inherits = ["_common", "_image"]
platforms = ["linux/amd64"]
}
target "dev-arm64" {
inherits = ["_common", "_image"]
platforms = ["linux/arm64"]
}
group "release" {
targets = ["release"]
}
target "release" {
inherits = ["_common", "_image"]
platforms = ["linux/amd64","linux/arm64"]
}