From 9312631783b23a06e141d5aa4d7f569c200d0f3d Mon Sep 17 00:00:00 2001 From: pasha1coil Date: Tue, 26 Aug 2025 11:51:52 +0300 Subject: [PATCH] upd testsDockerfile --- deployments/renew_tests/TestsDockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deployments/renew_tests/TestsDockerfile b/deployments/renew_tests/TestsDockerfile index 478da55..415efbb 100644 --- a/deployments/renew_tests/TestsDockerfile +++ b/deployments/renew_tests/TestsDockerfile @@ -7,10 +7,13 @@ ENV GOPRIVATE=gitea.pena/* RUN git config --global url."https://${REGISTRY_USER}:${REGISTRY_PASSWORD}@gitea.pena/".insteadOf "https://gitea.pena/" +ADD pena-ca.crt /usr/local/share/ca-certificates/pena-ca.crt +RUN apk add --no-cache git ca-certificates && update-ca-certificates + WORKDIR /app COPY go.mod go.sum ./ -RUN export GIT_SSL_NO_VERIFY=true && \ - export GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt && \ + +RUN export GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt && \ go env -w GOINSECURE="gitea.pena/*" && \ go mod download