Skip to content

Commit

Permalink
ci(validate): fix GOLANGCI_LINT_MULTIPLATFORM type for multiplatform …
Browse files Browse the repository at this point in the history
…lint

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed May 2, 2024
1 parent 1d88c4b commit db3a8ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variable "DESTDIR" {
default = "./bin"
}
variable "GOLANGCI_LINT_MULTIPLATFORM" {
default = null
default = ""
}

# Special target: https://github.com/docker/metadata-action#bake-definition
Expand All @@ -35,7 +35,7 @@ target "lint" {
inherits = ["_common"]
dockerfile = "./hack/dockerfiles/lint.Dockerfile"
output = ["type=cacheonly"]
platforms = GOLANGCI_LINT_MULTIPLATFORM != null ? [
platforms = GOLANGCI_LINT_MULTIPLATFORM != "" ? [
"darwin/amd64",
"darwin/arm64",
"linux/amd64",
Expand Down

0 comments on commit db3a8ad

Please sign in to comment.