最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

With GitLab, getting "fatal: mismatched algorithms: client sha1; server sha256" error when running pipeline on

programmeradmin1浏览0评论

I have a CI pipeline which runs a basic Python unit test command. It uses the python:3.11 Docker base image.

When the pipeline runs in the main repo, everything works fine. However, when running the pipeline in a fork, I get the following error message.

Preparing environment
Running on runner-xxx-concurrent-0 via runner-xxx...
Getting source from Git repository
Fetching changes with git depth set to 20...
Initialized empty Git repository in /builds/<username>/<project_name>/.git
Created fresh repository.
fatal: mismatched algorithms: client sha1; server sha256
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

I've confirmed that my repo, my local git, and all commits in the repo, are using SHA256 (in both the main repo and the fork).

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论