Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Fix git config for github on go mod download
Browse files Browse the repository at this point in the history
  • Loading branch information
xmariachi committed Jan 18, 2024
1 parent 5769c96 commit 89d235f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ WORKDIR /src

ADD . /src

ARG GH_TOKEN

RUN git config --global url."https://${GH_TOKEN}@github.com".insteadOf "https://github.com"
RUN go mod download && \
make all

Expand Down Expand Up @@ -90,6 +93,7 @@ ENV WORKSPACE_ROOT=/tmp/node
ENV RUNETIME_PATH=/app/runtime
ENV REST_API=8080
ENV P2P_PORT=9527
ENV GH_TOKEN=$GH_TOKEN

EXPOSE 8080 9527
# VOLUME ${APP_PATH}
Expand Down

0 comments on commit 89d235f

Please sign in to comment.