mirror of
https://github.com/tonistiigi/xx
synced 2025-12-24 12:47:51 +08:00
36 lines
613 B
HCL
36 lines
613 B
HCL
variable "TARGET_REPO" {
|
|
default = "tonistiigi/bats-assert"
|
|
}
|
|
|
|
target "default" {
|
|
tags = ["${TARGET_REPO}"]
|
|
cache-to = ["type=inline"]
|
|
cache-from = ["${TARGET_REPO}"]
|
|
}
|
|
|
|
target "all" {
|
|
inherits = ["default"]
|
|
platforms = [
|
|
"linux/amd64",
|
|
"linux/arm64",
|
|
"linux/arm/v7",
|
|
"linux/arm/v6",
|
|
"linux/arm/v5",
|
|
"linux/386",
|
|
"linux/riscv64",
|
|
"linux/s390x",
|
|
"linux/ppc64le",
|
|
"linux/loong64"
|
|
]
|
|
}
|
|
|
|
target "test" {
|
|
target = "test"
|
|
}
|
|
|
|
target "generate-golden" {
|
|
target = "golden"
|
|
output = [
|
|
"."
|
|
]
|
|
} |