26 lines
626 B
HCL
26 lines
626 B
HCL
|
// This is what is baked by GitHub Actions
|
||
|
group "default" { targets = ["regular", "debug"] }
|
||
|
|
||
|
// Targets filled by GitHub Actions: one for the regular tag, one for the debug tag
|
||
|
target "docker-metadata-action" {}
|
||
|
target "docker-metadata-action-debug" {}
|
||
|
|
||
|
// 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"
|
||
|
}
|