2021-02-13 12:02:44 +01:00
|
|
|
group "default" {
|
|
|
|
targets = ["build"]
|
|
|
|
}
|
|
|
|
|
|
|
|
group "pre-checkin" {
|
2021-04-02 11:47:52 +02:00
|
|
|
targets = ["vendor-update", "format", "build"]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
group "validate" {
|
2022-03-22 20:15:50 +01:00
|
|
|
targets = ["lint", "build-validate", "vendor-validate"]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
|
|
|
|
2021-04-02 11:47:52 +02:00
|
|
|
target "build" {
|
2022-03-22 20:15:50 +01:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-04-02 11:47:52 +02:00
|
|
|
target = "build-update"
|
2021-02-13 12:02:44 +01:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2021-04-02 11:47:52 +02:00
|
|
|
target "build-validate" {
|
2022-03-22 20:15:50 +01:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-04-02 11:47:52 +02:00
|
|
|
target = "build-validate"
|
2021-11-16 22:00:01 +01:00
|
|
|
output = ["type=cacheonly"]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
target "format" {
|
2022-03-22 20:15:50 +01:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-04-02 11:47:52 +02:00
|
|
|
target = "format-update"
|
2021-02-13 12:02:44 +01:00
|
|
|
output = ["."]
|
|
|
|
}
|
|
|
|
|
2022-03-22 20:15:50 +01:00
|
|
|
target "lint" {
|
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "lint"
|
2021-11-16 22:00:01 +01:00
|
|
|
output = ["type=cacheonly"]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
|
|
|
|
2021-04-02 11:47:52 +02:00
|
|
|
target "vendor-update" {
|
2022-03-22 20:15:50 +01:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-11-16 22:00:01 +01:00
|
|
|
target = "vendor-update"
|
2021-04-02 11:47:52 +02:00
|
|
|
output = ["."]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
|
|
|
|
2021-04-02 11:47:52 +02:00
|
|
|
target "vendor-validate" {
|
2022-03-22 20:15:50 +01:00
|
|
|
dockerfile = "dev.Dockerfile"
|
2021-11-16 22:00:01 +01:00
|
|
|
target = "vendor-validate"
|
|
|
|
output = ["type=cacheonly"]
|
2021-02-13 12:02:44 +01:00
|
|
|
}
|
2023-02-19 21:19:05 +01:00
|
|
|
|
|
|
|
target "test" {
|
|
|
|
dockerfile = "dev.Dockerfile"
|
|
|
|
target = "test-coverage"
|
|
|
|
output = ["./coverage"]
|
|
|
|
}
|