mirror of
https://github.com/harness/drone.git
synced 2025-05-09 05:00:06 +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
|
# Access to private repos
|
||||||
ARG GITHUB_ACCESS_TOKEN
|
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 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/*
|
RUN go env -w GOPRIVATE=github.com/harness/*
|
||||||
|
|
||||||
# Get dependancies - will also be cached if we won't change mod/sum
|
# Get dependancies - will also be cached if we won't change mod/sum
|
||||||
|
@ -10,6 +10,7 @@ WORKDIR /app
|
|||||||
# Access to private repos
|
# Access to private repos
|
||||||
ARG GITHUB_ACCESS_TOKEN
|
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 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/*
|
RUN go env -w GOPRIVATE=github.com/harness/*
|
||||||
|
|
||||||
# Get dependancies - will also be cached if we won't change mod/sum
|
# Get dependancies - will also be cached if we won't change mod/sum
|
||||||
|
Loading…
Reference in New Issue
Block a user