From 1af0bddfbf99745e8fa8bb34fb718330297ccb85 Mon Sep 17 00:00:00 2001 From: pasha1coil Date: Tue, 26 Aug 2025 11:00:46 +0300 Subject: [PATCH] upd testsDockerfile --- deployments/renew_tests/TestsDockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deployments/renew_tests/TestsDockerfile b/deployments/renew_tests/TestsDockerfile index fbc80a6..ffafa36 100644 --- a/deployments/renew_tests/TestsDockerfile +++ b/deployments/renew_tests/TestsDockerfile @@ -3,7 +3,8 @@ FROM gitea.pena/penadevops/container-images/golang:1.23.8-alpine ADD pena-ca.crt /usr/local/share/ca-certificates/cacert.crt RUN apk add --no-cache git ca-certificates && update-ca-certificates -ENV GOPRIVATE=gitea.pena/PenaSide/* +export GOPRIVATE=gitea.pena/* +git config --global url."https://${REGISTRY_USER}:${REGISTRY_PASSWORD}@gitea.pena/".insteadOf "https://gitea.pena/" WORKDIR /app COPY go.mod go.sum ./