Исправление CI сборки, версия 3.27.1
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 45s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 45s
This commit is contained in:
@@ -10,8 +10,11 @@ COPY play-life-web/ .
|
||||
RUN npm run build
|
||||
|
||||
# Stage 2: Build Backend
|
||||
FROM golang:1.21-alpine AS backend-builder
|
||||
FROM golang:1.23-alpine AS backend-builder
|
||||
WORKDIR /app/backend
|
||||
# Устанавливаем GOPROXY для более надежной загрузки модулей
|
||||
ENV GOPROXY=https://proxy.golang.org,direct
|
||||
ENV GOSUMDB=sum.golang.org
|
||||
COPY play-life-backend/go.mod play-life-backend/go.sum ./
|
||||
RUN go mod download
|
||||
COPY play-life-backend/ .
|
||||
|
||||
Reference in New Issue
Block a user