2021-03-31 12:34:44 -04:00
|
|
|
group "default" {
|
|
|
|
targets = ["build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "pre-checkin" {
|
|
|
|
targets = ["vendor-update", "format", "build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "validate" {
|
2022-03-21 05:57:36 -04:00
|
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
2021-03-31 12:34:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
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 = ["."]
|
|
|
|
}
|
|
|
|
|
2022-03-21 05:57:36 -04:00
|
|
|
target "lint" {
|
2022-03-01 14:51:18 -05:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2022-03-21 05:57:36 -04:00
|
|
|
target = "lint"
|
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"]
|
|
|
|
}
|