chore: remove yamllint

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-04-01 11:16:04 +02:00
parent a8bb25d1b5
commit 45fac6dee3
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 1 additions and 16 deletions

View File

@ -1,13 +0,0 @@
ignore: |
/vendor
extends: default
yaml-files:
- '*.yaml'
- '*.yml'
rules:
truthy: disable
line-length: disable
document-start: disable

View File

@ -3,10 +3,8 @@
ARG GO_VERSION=1.18 ARG GO_VERSION=1.18
FROM golang:${GO_VERSION}-alpine 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 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 WORKDIR /go/src/github.com/docker/buildx
RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \ RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \
golangci-lint run golangci-lint run
RUN --mount=target=/go/src/github.com/docker/buildx --mount=target=/root/.cache,type=cache \
yamllint -c .yamllint.yml --strict .