docker-metadata-action/docker-bake.hcl

55 lines
871 B
HCL
Raw Normal View History

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