3
0
Fork 0
mirror of https://gitea.com/docker/metadata-action.git synced 2024-11-28 15:09:32 +01:00
docker-metadata/docker-bake.hcl

54 lines
935 B
HCL
Raw Normal View History

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