Skip to content

Commit

Permalink
Mark the source directory as safe
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tpantelis committed May 19, 2022
1 parent 1ba50d5 commit f4510d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit f4510d1

Please sign in to comment.