mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 20:20:35 +00:00
Mark the source directory as safe
See https://github.blog/2022-04-12-git-security-vulnerability-announced/ for context. git now refuses to handle repositories which don't belong to the current user by default; such repositories need to be explicitly marked as safe, in the global configuration for the current user. This fixes the failing release job. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This commit is contained in:
committed by
Thomas Pantelis
parent
da4a2709f1
commit
d91eae8312
@@ -9,6 +9,8 @@ ENV DAPPER_OUTPUT=${DAPPER_SOURCE}/output PATH=${DAPPER_SOURCE}/bin/:${PATH}
|
||||
|
||||
WORKDIR ${DAPPER_SOURCE}
|
||||
|
||||
RUN git config --global --add safe.directory ${DAPPER_SOURCE}
|
||||
|
||||
# Override the Helm deployment scripts
|
||||
COPY deploy_helm /opt/shipyard/scripts/lib/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user