-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-bake.hcl
31 lines (26 loc) · 744 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
// This is what is baked by GitHub Actions
group "default" { targets = ["regular", "debug", "scripts"] }
// Targets filled by GitHub Actions for each tag
target "docker-metadata-action" {}
target "docker-metadata-action-debug" {}
target "docker-metadata-action-scripts" {}
// This sets the platforms and is further extended by GitHub Actions to set the
// output and the cache locations
target "base" {
platforms = [
"linux/amd64",
"linux/arm64",
"linux/arm",
]
}
target "regular" {
inherits = ["base", "docker-metadata-action"]
}
target "debug" {
inherits = ["base", "docker-metadata-action-debug"]
target = "debug"
}
target "scripts" {
inherits = ["base", "docker-metadata-action-scripts"]
target = "scripts"
}