actions-toolkit/docker-bake.hcl
CrazyMax 68e4223857
Dockerfile: test-coverage target
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-23 01:38:28 +01:00

54 lines
892 B
HCL

group "default" {
targets = ["build"]
}
group "pre-checkin" {
targets = ["vendor", "format", "build"]
}
group "validate" {
targets = ["lint", "vendor-validate"]
}
target "build" {
dockerfile = "dev.Dockerfile"
target = "build-update"
output = ["."]
}
target "format" {
dockerfile = "dev.Dockerfile"
target = "format-update"
output = ["."]
}
target "lint" {
dockerfile = "dev.Dockerfile"
target = "lint"
output = ["type=cacheonly"]
}
target "vendor" {
dockerfile = "dev.Dockerfile"
target = "vendor-update"
output = ["."]
}
target "vendor-validate" {
dockerfile = "dev.Dockerfile"
target = "vendor-validate"
output = ["type=cacheonly"]
}
target "test" {
dockerfile = "dev.Dockerfile"
target = "test"
output = ["type=cacheonly"]
}
target "test-coverage" {
dockerfile = "dev.Dockerfile"
target = "test-coverage"
output = ["./coverage"]
}