We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc74e6a + 1964693 commit e28b223Copy full SHA for e28b223
Dockerfile
@@ -91,6 +91,7 @@ FROM build-base AS lint
91
ARG BUILD_TAGS
92
RUN --mount=type=bind,target=. \
93
--mount=type=cache,target=/root/.cache \
94
+ --mount=type=cache,target=/go/pkg/mod \
95
--mount=from=golangci-lint,source=/usr/bin/golangci-lint,target=/usr/bin/golangci-lint \
96
golangci-lint run --build-tags "$BUILD_TAGS" ./...
97
@@ -129,6 +130,7 @@ FROM base AS docsgen
129
130
WORKDIR /src
131
RUN --mount=target=. \
132
--mount=target=/root/.cache,type=cache \
133
134
go build -o /out/docsgen ./docs/yaml/main/generate.go
135
136
FROM --platform=${BUILDPLATFORM} alpine AS docs-build
0 commit comments