metadata-action/docker-bake.hcl

55 lines
871 B
HCL
Raw Normal View History

2020-10-25 02:25:23 +01:00
group "default" {
targets = ["build"]
}
group "pre-checkin" {
targets = ["update-yarn", "format", "build"]
}
group "validate" {
targets = ["validate-format", "validate-build", "validate-yarn"]
}
target "dockerfile" {
2021-03-19 09:51:52 +01:00
dockerfile = "dev.Dockerfile"
2020-10-25 02:25:23 +01:00
}
target "update-yarn" {
inherits = ["dockerfile"]
2020-10-25 02:25:23 +01:00
target = "update-yarn"
output = ["."]
}
target "build" {
inherits = ["dockerfile"]
2020-10-25 02:25:23 +01:00
target = "dist"
output = ["."]
}
target "test" {
inherits = ["dockerfile"]
target = "test-coverage"
output = ["."]
2020-10-25 02:25:23 +01:00
}
target "format" {
inherits = ["dockerfile"]
2020-10-25 02:25:23 +01:00
target = "format"
output = ["."]
}
target "validate-format" {
inherits = ["dockerfile"]
2020-10-25 02:25:23 +01:00
target = "validate-format"
}
target "validate-build" {
inherits = ["dockerfile"]
2020-10-25 02:25:23 +01:00
target = "validate-build"
}
target "validate-yarn" {
inherits = ["dockerfile"]
target = "validate-yarn"
2020-10-25 02:25:23 +01:00
}