Merge branch 'dev' into 'staging'

cahnge build token

See merge request pena-services/verification!3
This commit is contained in:
Mikhail 2024-02-15 21:52:53 +00:00
commit e63f2fbaf9

@ -3,7 +3,7 @@ WORKDIR /app
ARG GITLAB_TOKEN
RUN apk add git
ENV GOPRIVATE=penahub.gitlab.yandexcloud.net/backend/penahub_common
RUN git config --global url."https://forgomod:${GITLAB_TOKEN}@penahub.gitlab.yandexcloud.net/".insteadOf "https://penahub.gitlab.yandexcloud.net/"
RUN git config --global url."https://buildToken:glpat-axA8ttckx3aPf_xd2Dym@penahub.gitlab.yandexcloud.net/".insteadOf "https://penahub.gitlab.yandexcloud.net/"
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app ./cmd/verification/main.go