chore: fix typo

Actually share golangci-lint cache.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
This commit is contained in:
Alexey Palazhchenko 2021-03-25 23:53:05 +03:00 committed by talos-bot
parent 672c970739
commit 9f7d67ac71

View File

@ -489,7 +489,7 @@ COPY --from=integration-test-provision-linux-build /src/integration.test /integr
FROM base AS lint-go
COPY .golangci.yml .
ENV GOGC 50
ENV GOLANCGCI_LINT_CACHE /.cache/lint
ENV GOLANGCI_LINT_CACHE /.cache/lint
RUN --mount=type=cache,target=/.cache golangci-lint run --config .golangci.yml
WORKDIR /src/pkg/machinery
RUN --mount=type=cache,target=/.cache golangci-lint run --config ../../.golangci.yml