提交 7eea4fa1 编写于 作者: G Geri Ochoa 提交者: tekton-robot

Fix "Unsafe repository" error

Add instruction in Dockerfile to declare the /src folder a trusted Git
directory.
上级 ff883472
......@@ -12,6 +12,7 @@ RUN make sync
FROM klakegg/hugo:ext-alpine as website
COPY . /src
RUN git config --global --add safe.directory /src
COPY --from=dependencies /app/node_modules /src/node_modules
COPY --from=dependencies /app/content/en/docs/Pipelines /src/content/en/docs/Pipelines
COPY --from=dependencies /app/content/en/docs/Triggers /src/content/en/docs/Triggers
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册