ai-commit.sh 270 B

123456789
  1. #!/bin/bash
  2. docker run --rm -it \
  3. -v "$(pwd):/repo" \
  4. -v "$HOME/.gitconfig:/home/appuser/.gitconfig:ro" \
  5. -v "$HOME/.git-credentials:/home/appuser/.git-credentials:ro" \
  6. -e GEMINI_API_KEY="$GEMINI_API_KEY" \
  7. -u "$(id -u):$(id -g)" \
  8. docker.senomas.com/commit:1.0