Skip to content

Commit

Permalink
fix committer env
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed May 10, 2022
1 parent 80c8c36 commit fa84943
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion renku/core/session/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@ def session_start(
volumes = [f"{str(client.path.resolve())}:{work_dir}"]

user = client.repository.get_user()
environment = {"GIT_AUTHOR_NAME": user.name, "GIT_AUTHOR_EMAIL": user.email}
environment = {
"GIT_AUTHOR_NAME": user.name,
"GIT_AUTHOR_EMAIL": user.email,
"GIT_COMMITTER_EMAIL": user.email,
}

container = self.docker_client().containers.run(
image_name,
Expand Down

0 comments on commit fa84943

Please sign in to comment.