|
2 | 2 |
|
3 | 3 | # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. |
4 | 4 | # |
5 | | -# Generated on 2026-01-09T09:46:37Z by kres 0e8da31. |
| 5 | +# Generated on 2026-01-15T15:00:14Z by kres 6f46343. |
6 | 6 |
|
7 | 7 | ARG TOOLCHAIN=scratch |
8 | 8 | ARG PKGS_PREFIX=scratch |
@@ -145,15 +145,15 @@ ENV GOEXPERIMENT=${GOEXPERIMENT} |
145 | 145 | ENV GOPATH=/go |
146 | 146 | ARG DEEPCOPY_VERSION |
147 | 147 | RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg go install github.com/siderolabs/deep-copy@${DEEPCOPY_VERSION} \ |
148 | | - && mv /go/bin/deep-copy /bin/deep-copy |
| 148 | + && mv /go/bin/deep-copy /bin/deep-copy |
149 | 149 | ARG GOLANGCILINT_VERSION |
150 | 150 | RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@${GOLANGCILINT_VERSION} \ |
151 | | - && mv /go/bin/golangci-lint /bin/golangci-lint |
| 151 | + && mv /go/bin/golangci-lint /bin/golangci-lint |
152 | 152 | RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg go install golang.org/x/vuln/cmd/govulncheck@latest \ |
153 | | - && mv /go/bin/govulncheck /bin/govulncheck |
| 153 | + && mv /go/bin/govulncheck /bin/govulncheck |
154 | 154 | ARG GOFUMPT_VERSION |
155 | 155 | RUN go install mvdan.cc/gofumpt@${GOFUMPT_VERSION} \ |
156 | | - && mv /go/bin/gofumpt /bin/gofumpt |
| 156 | + && mv /go/bin/gofumpt /bin/gofumpt |
157 | 157 |
|
158 | 158 | # Copies assets |
159 | 159 | FROM scratch AS tailwind-copy |
@@ -223,13 +223,13 @@ RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache |
223 | 223 | FROM base AS unit-tests-race |
224 | 224 | WORKDIR /src |
225 | 225 | ARG TESTPKGS |
226 | | -RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg --mount=type=cache,target=/tmp,id=image-factory/tmp CGO_ENABLED=1 go test -race ${TESTPKGS} |
| 226 | +RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg --mount=type=cache,target=/tmp,id=image-factory/tmp CGO_ENABLED=1 go test -race -tags=enterprise ${TESTPKGS} |
227 | 227 |
|
228 | 228 | # runs unit-tests |
229 | 229 | FROM base AS unit-tests-run |
230 | 230 | WORKDIR /src |
231 | 231 | ARG TESTPKGS |
232 | | -RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg --mount=type=cache,target=/tmp,id=image-factory/tmp go test -covermode=atomic -coverprofile=coverage.txt -coverpkg=${TESTPKGS} ${TESTPKGS} |
| 232 | +RUN --mount=type=cache,target=/root/.cache/go-build,id=image-factory/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=image-factory/go/pkg --mount=type=cache,target=/tmp,id=image-factory/tmp go test -covermode=atomic -coverprofile=coverage.txt -coverpkg=${TESTPKGS} -tags=enterprise ${TESTPKGS} |
233 | 233 |
|
234 | 234 | # updates go.mod to use the latest talos main |
235 | 235 | FROM base AS update-to-talos-main |
|
0 commit comments