mirror of
https://github.com/docker/bake-action.git
synced 2026-01-01 10:41:19 +01:00
37 lines
735 B
HCL
37 lines
735 B
HCL
group "validate" {
|
|
targets = ["lint", "lint-gopls", "validate-vendor", "validate-docs"]
|
|
}
|
|
|
|
target "lint" {
|
|
dockerfile = "./hack/dockerfiles/lint.Dockerfile"
|
|
output = ["type=cacheonly"]
|
|
platforms = [
|
|
"darwin/amd64",
|
|
"darwin/arm64",
|
|
"linux/amd64",
|
|
"linux/arm64",
|
|
"linux/s390x",
|
|
"linux/ppc64le",
|
|
"linux/riscv64",
|
|
"windows/amd64",
|
|
"windows/arm64"
|
|
]
|
|
}
|
|
|
|
target "lint-gopls" {
|
|
inherits = ["lint"]
|
|
target = "gopls-analyze"
|
|
}
|
|
|
|
target "validate-vendor" {
|
|
dockerfile = "./hack/dockerfiles/vendor.Dockerfile"
|
|
target = "validate"
|
|
output = ["type=cacheonly"]
|
|
}
|
|
|
|
target "validate-docs" {
|
|
dockerfile = "./hack/dockerfiles/docs.Dockerfile"
|
|
target = "validate"
|
|
output = ["type=cacheonly"]
|
|
}
|