add gitlabtoken for go get

This commit is contained in:
skeris 2024-07-25 21:59:49 +03:00
parent bdbb50702a
commit a4423b6498

@ -1,4 +1,4 @@
FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/golang:latest as build FROM penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/golang:latest as build
WORKDIR /app WORKDIR /app
RUN apk add git RUN apk add git
RUN git config --global url."https://buildToken:glpat-axA8ttckx3aPf_xd2Dym@penahub.gitlab.yandexcloud.net/".insteadOf "https://penahub.gitlab.yandexcloud.net/"