metadata-action/docker-bake.hcl

54 lines
921 B
HCL
Raw Normal View History

group "default" {
targets = ["build"]
}
group "pre-checkin" {
targets = ["vendor", "format", "build"]
2020-10-25 02:25:23 +01:00
}
group "validate" {
targets = ["lint", "build-validate", "vendor-validate"]
2020-10-25 02:25:23 +01:00
}
target "build" {
dockerfile = "dev.Dockerfile"
target = "build-update"
2020-10-25 02:25:23 +01:00
output = ["."]
}
target "build-validate" {
dockerfile = "dev.Dockerfile"
target = "build-validate"
output = ["type=cacheonly"]
2020-10-25 02:25:23 +01:00
}
target "format" {
dockerfile = "dev.Dockerfile"
target = "format-update"
2020-10-25 02:25:23 +01:00
output = ["."]
}
target "lint" {
dockerfile = "dev.Dockerfile"
target = "lint"
output = ["type=cacheonly"]
}
target "vendor" {
dockerfile = "dev.Dockerfile"
target = "vendor-update"
output = ["."]
2020-10-25 02:25:23 +01:00
}
target "vendor-validate" {
dockerfile = "dev.Dockerfile"
target = "vendor-validate"
output = ["type=cacheonly"]
2020-10-25 02:25:23 +01:00
}
target "test" {
dockerfile = "dev.Dockerfile"
target = "test-coverage"
output = ["./coverage"]
2020-10-25 02:25:23 +01:00
}