mirror of
https://github.com/harness/drone.git
synced 2025-05-08 02:49:23 +08:00
Merge branch 'jobatzil/make' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#33)
This commit is contained in:
commit
3f19c98ff3
@ -10,6 +10,7 @@ WORKDIR /app
|
||||
# Access to private repos
|
||||
ARG GITHUB_ACCESS_TOKEN
|
||||
RUN git config --global url."https://${GITHUB_ACCESS_TOKEN}:x-oauth-basic@github.com/harness".insteadOf "https://github.com/harness"
|
||||
RUN git config --global --add safe.directory '/app'
|
||||
RUN go env -w GOPRIVATE=github.com/harness/*
|
||||
|
||||
# Get dependancies - will also be cached if we won't change mod/sum
|
||||
|
@ -10,6 +10,7 @@ WORKDIR /app
|
||||
# Access to private repos
|
||||
ARG GITHUB_ACCESS_TOKEN
|
||||
RUN git config --global url."https://${GITHUB_ACCESS_TOKEN}:x-oauth-basic@github.com/harness".insteadOf "https://github.com/harness"
|
||||
RUN git config --global --add safe.directory '/app'
|
||||
RUN go env -w GOPRIVATE=github.com/harness/*
|
||||
|
||||
# Get dependancies - will also be cached if we won't change mod/sum
|
||||
|
Loading…
Reference in New Issue
Block a user