2021-03-16 06:35:50 +08:00
|
|
|
group "default" {
|
|
|
|
targets = ["build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "pre-checkin" {
|
2023-05-06 20:32:28 +08:00
|
|
|
targets = ["vendor", "format", "build"]
|
2021-03-16 06:35:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
group "validate" {
|
2022-04-24 09:14:32 +08:00
|
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
2021-03-16 06:35:50 +08:00
|
|
|
}
|
|
|
|
|
2021-03-30 05:41:46 +08:00
|
|
|
target "build" {
|
2022-04-24 09:14:32 +08:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 05:41:46 +08:00
|
|
|
target = "build-update"
|
2021-03-16 06:35:50 +08:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2021-03-30 05:41:46 +08:00
|
|
|
target "build-validate" {
|
2022-04-24 09:14:32 +08:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 05:41:46 +08:00
|
|
|
target = "build-validate"
|
2022-04-24 09:14:32 +08:00
|
|
|
output = ["type=cacheonly"]
|
2021-03-16 06:35:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
target "format" {
|
2022-04-24 09:14:32 +08:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-03-30 05:41:46 +08:00
|
|
|
target = "format-update"
|
2021-03-16 06:35:50 +08:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2022-04-24 09:14:32 +08:00
|
|
|
target "lint" {
|
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "lint"
|
|
|
|
output = ["type=cacheonly"]
|
|
|
|
}
|
|
|
|
|
2023-05-06 20:32:28 +08:00
|
|
|
target "vendor" {
|
2022-04-24 09:14:32 +08:00
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "vendor-update"
|
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
|
|
|
target "vendor-validate" {
|
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "vendor-validate"
|
|
|
|
output = ["type=cacheonly"]
|
2021-03-16 06:35:50 +08:00
|
|
|
}
|