run vale in docker

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-07-16 15:06:36 +02:00
parent c69c0b53dd
commit 04b56a67f9
4 changed files with 79 additions and 14 deletions

View File

@@ -14,6 +14,10 @@ variable "DRY_RUN" {
default = null
}
variable "GITHUB_ACTIONS" {
default = null
}
group "default" {
targets = ["release"]
}
@@ -36,7 +40,7 @@ target "release" {
}
group "validate" {
targets = ["lint", "test", "unused-media", "test-go-redirects", "dockerfile-lint", "path-warnings", "validate-vendor"]
targets = ["lint", "vale", "test", "unused-media", "test-go-redirects", "dockerfile-lint", "path-warnings", "validate-vendor"]
}
target "test" {
@@ -51,6 +55,15 @@ target "lint" {
provenance = false
}
target "vale" {
target = "vale"
args = {
GITHUB_ACTIONS = GITHUB_ACTIONS
}
output = ["./tmp"]
provenance = false
}
target "unused-media" {
target = "unused-media"
output = ["type=cacheonly"]