Skip to content

Commit

Permalink
add git environment variables to compose: avoid checkout failure erro…
Browse files Browse the repository at this point in the history
…r 128 on build (#534)
  • Loading branch information
SlapDrone authored Sep 8, 2023
1 parent 34c0a86 commit 78ee2cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 78ee2cd

Please sign in to comment.