SlapDrone commited on
Commit
78ee2cd
1 Parent(s): 34c0a86

add git environment variables to compose: avoid checkout failure error 128 on build (#534)

Browse files
Files changed (1) hide show
  1. docker-compose.yaml +5 -0
docker-compose.yaml CHANGED
@@ -9,6 +9,11 @@ services:
9
  - ~/.cache/huggingface/:/root/.cache/huggingface/
10
  # set environment variables
11
  environment:
 
 
 
 
 
12
  - WANDB_API_KEY=${WANDB_API_KEY}
13
  deploy:
14
  resources:
 
9
  - ~/.cache/huggingface/:/root/.cache/huggingface/
10
  # set environment variables
11
  environment:
12
+ # Set environment variables
13
+ - GIT_AUTHOR_NAME=${GIT_AUTHOR_NAME}
14
+ - GIT_AUTHOR_EMAIL=${GIT_AUTHOR_EMAIL}
15
+ - GIT_COMMITTER_NAME=${GIT_COMMITTER_NAME}
16
+ - GIT_COMMITTER_EMAIL=${GIT_COMMITTER_EMAIL}
17
  - WANDB_API_KEY=${WANDB_API_KEY}
18
  deploy:
19
  resources: