diff --git a/internal/pkg/bailiff/repush.go b/internal/pkg/bailiff/repush.go index 874cdaf..15de09e 100644 --- a/internal/pkg/bailiff/repush.go +++ b/internal/pkg/bailiff/repush.go @@ -46,7 +46,7 @@ func (s *ShellRepusher) Clone(ctx context.Context, repoURL string) error { ".", ) cmd.Dir = s.workdir - cmd.Env = append(cmd.Env, "GIT_SSH_COMMAND='-o StrictHostKeyChecking=accept-new'") + cmd.Env = append(cmd.Env, "GIT_SSH_COMMAND='ssh -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new'") doneC := make(chan struct{}) if err := s.logOutput(cmd, doneC); err != nil {