2021-03-31 12:34:44 -04:00
|
|
|
group "default" {
|
|
|
|
targets = ["build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "pre-checkin" {
|
|
|
|
targets = ["vendor-update", "format", "build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "validate" {
|
|
|
|
targets = ["format-validate", "build-validate", "vendor-validate"]
|
|
|
|
}
|
|
|
|
|
|
|
|
target "build" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-31 12:34:44 -04:00
|
|
|
target = "build-update"
|
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
|
|
|
target "build-validate" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-31 12:34:44 -04:00
|
|
|
target = "build-validate"
|
2021-11-16 15:38:44 -05:00
|
|
|
output = ["type=cacheonly"]
|
2021-03-31 12:34:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
target "format" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-31 12:34:44 -04:00
|
|
|
target = "format-update"
|
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
|
|
|
target "format-validate" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-31 12:34:44 -04:00
|
|
|
target = "format-validate"
|
2021-11-16 15:38:44 -05:00
|
|
|
output = ["type=cacheonly"]
|
2021-03-31 12:34:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
target "vendor-update" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-11-16 15:38:44 -05:00
|
|
|
target = "vendor-update"
|
2021-03-31 12:34:44 -04:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
|
|
|
target "vendor-validate" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-11-16 15:38:44 -05:00
|
|
|
target = "vendor-validate"
|
|
|
|
output = ["type=cacheonly"]
|
2021-03-31 12:34:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
target "test" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-31 12:34:44 -04:00
|
|
|
target = "test-coverage"
|
|
|
|
output = ["./coverage"]
|
|
|
|
}
|