diff --git a/internal/storage/fs/git/store.go b/internal/storage/fs/git/store.go index 890038e4d4..657257749a 100644 --- a/internal/storage/fs/git/store.go +++ b/internal/storage/fs/git/store.go @@ -306,8 +306,10 @@ func (s *SnapshotStore) fetch(ctx context.Context, heads []string) (bool, error) } if err := s.repo.FetchContext(ctx, &git.FetchOptions{ - Auth: s.auth, - RefSpecs: refSpecs, + Auth: s.auth, + RefSpecs: refSpecs, + InsecureSkipTLS: s.insecureSkipTLS, + CABundle: s.caBundle, }); err != nil { if !errors.Is(err, git.NoErrAlreadyUpToDate) { return false, err