mirror of
https://github.com/docker/setup-qemu-action.git
synced 2025-01-10 04:37:09 +00:00
faec242d1f
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
66 lines
1.1 KiB
HCL
66 lines
1.1 KiB
HCL
target "_common" {
|
|
args = {
|
|
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
|
}
|
|
}
|
|
|
|
group "default" {
|
|
targets = ["build"]
|
|
}
|
|
|
|
group "pre-checkin" {
|
|
targets = ["vendor", "format", "build"]
|
|
}
|
|
|
|
group "validate" {
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
|
}
|
|
|
|
target "build" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "build-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "build-validate" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "build-validate"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "format" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "format-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "lint" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "lint"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "vendor" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "vendor-update"
|
|
output = ["."]
|
|
}
|
|
|
|
target "vendor-validate" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "vendor-validate"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "test" {
|
|
inherits = ["_common"]
|
|
dockerfile = "dev.Dockerfile"
|
|
target = "test-coverage"
|
|
output = ["./coverage"]
|
|
}
|