diff --git a/.yamllint.yml b/.yamllint.yml deleted file mode 100644 index e190c161..00000000 --- a/.yamllint.yml +++ /dev/null @@ -1,13 +0,0 @@ -ignore: | - /vendor - -extends: default - -yaml-files: - - '*.yaml' - - '*.yml' - -rules: - truthy: disable - line-length: disable - document-start: disable diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index 61ecb369..575af277 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -3,10 +3,8 @@ ARG GO_VERSION=1.18 FROM golang:${GO_VERSION}-alpine -RUN apk add --no-cache git gcc musl-dev yamllint +RUN apk add --no-cache git gcc musl-dev RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.45.2 WORKDIR /go/src/github.com/docker/buildx RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ golangci-lint run -RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ - yamllint -c .yamllint.yml --strict .