Files
bake-action/docker-bake.hcl

54 lines
935 B
HCL
Raw Permalink Normal View History

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