[AUTO] Adjust gitea workflow for private goext dependency
This commit is contained in:
@@ -8,6 +8,15 @@ RUN apt-get update && \
|
||||
pip install virtualenv && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# setup for private deps
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends git openssh-client && rm -rf /var/lib/apt/lists/*
|
||||
COPY .secrets/deps-key /root/.ssh/id_ed25519
|
||||
COPY .secrets/deps-key.pub /root/.ssh/id_ed25519.pub
|
||||
RUN chmod 600 /root/.ssh/id_ed25519
|
||||
COPY .secrets/known_hosts /root/.ssh/known_hosts
|
||||
COPY .secrets/gitconfig /root/.gitconfig
|
||||
ENV GOPRIVATE="git.blackforestbytes.com/*"
|
||||
|
||||
COPY . /buildsrc
|
||||
|
||||
RUN cd /buildsrc && cp "scn_send.sh" "../scn_send.sh" && make build
|
||||
|
||||
Reference in New Issue
Block a user