1
0
Files
login-action/docker-bake.hcl
T

67 lines
1.1 KiB
HCL
Raw Normal View History

2025-01-08 12:58:36 +01:00
target "_common" {
args = {
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
}
}
2021-03-31 18:34:44 +02:00
group "default" {
targets = ["build"]
}
group "pre-checkin" {
2024-05-07 10:10:12 +02:00
targets = ["vendor", "format", "build"]
2021-03-31 18:34:44 +02:00
}
group "validate" {
2022-03-21 10:57:36 +01:00
targets = ["lint", "build-validate", "vendor-validate"]
2021-03-31 18:34:44 +02:00
}
target "build" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-03-31 18:34:44 +02:00
target = "build-update"
output = ["."]
}
target "build-validate" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-03-31 18:34:44 +02:00
target = "build-validate"
2021-11-16 21:38:44 +01:00
output = ["type=cacheonly"]
2021-03-31 18:34:44 +02:00
}
target "format" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-03-31 18:34:44 +02:00
target = "format-update"
output = ["."]
}
2022-03-21 10:57:36 +01:00
target "lint" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2022-03-21 10:57:36 +01:00
target = "lint"
2021-11-16 21:38:44 +01:00
output = ["type=cacheonly"]
2021-03-31 18:34:44 +02:00
}
2024-05-07 10:10:12 +02:00
target "vendor" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-11-16 21:38:44 +01:00
target = "vendor-update"
2021-03-31 18:34:44 +02:00
output = ["."]
}
target "vendor-validate" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-11-16 21:38:44 +01:00
target = "vendor-validate"
output = ["type=cacheonly"]
2021-03-31 18:34:44 +02:00
}
target "test" {
2025-01-08 12:58:36 +01:00
inherits = ["_common"]
2022-03-01 20:51:18 +01:00
dockerfile = "dev.Dockerfile"
2021-03-31 18:34:44 +02:00
target = "test-coverage"
output = ["./coverage"]
}