Skip to content

Commit

Permalink
Copy .gitconfig into Docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-luedtke committed Aug 4, 2024
1 parent 20c562e commit a8fc340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions industrial_ci/src/isolation/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

export DOCKER_COMMIT=${DOCKER_COMMIT:-}
export DOCKER_COMMIT_MSG=${DOCKER_COMMIT_MSG:-}
export DOCKER_CREDENTIALS=${DOCKER_CREDENTIALS-.docker .ssh .subversion}
export DOCKER_CREDENTIALS=${DOCKER_CREDENTIALS-.docker .gitconfig .ssh .subversion}
export DOCKER_PULL=${DOCKER_PULL:-true}
export _BUNDLE_ICI=${_BUNDLE_ICI:-false}

Expand Down Expand Up @@ -131,7 +131,7 @@ function ici_run_cmd_in_docker() {
local cleanup=""

for d in "${credentials[@]}"; do
if [ -d "$HOME/$d" ]; then
if [ -e "$HOME/$d" ]; then
to_copy+=(~/"$d")
# shellcheck disable=SC2088
cleanup=$(ici_join_array : "$cleanup" "~/$d")
Expand Down

0 comments on commit a8fc340

Please sign in to comment.