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 ./