From 78ee2cdab28f0d346b7039308f35bf9cc512bc94 Mon Sep 17 00:00:00 2001 From: SlapDrone <32279503+SlapDrone@users.noreply.github.com> Date: Fri, 8 Sep 2023 21:59:49 +0200 Subject: [PATCH] add git environment variables to compose: avoid checkout failure error 128 on build (#534) --- docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index d40422f94f..a16be726cf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,6 +9,11 @@ services: - ~/.cache/huggingface/:/root/.cache/huggingface/ # set environment variables environment: + # Set environment variables + - GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME} + - GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL} + - GIT_COMMITTER_NAME=${GIT_COMMITTER_NAME} + - GIT_COMMITTER_EMAIL=${GIT_COMMITTER_EMAIL} - WANDB_API_KEY=${WANDB_API_KEY} deploy: resources: