diff --git a/docker-cloud/Jenkins/image/README.md b/docker-cloud/Jenkins/image/README.md index c596b8c9..ff48f701 100644 --- a/docker-cloud/Jenkins/image/README.md +++ b/docker-cloud/Jenkins/image/README.md @@ -19,4 +19,10 @@ tee /var/jenkins_home/hudson.model.UpdateCenter.xml <<-'EOF' EOF +# 设置github代理 +echo "$(sed "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts)" > /etc/hosts + +# 生成github ssh公私密钥 +ssh-keygen -t ed25519 -f github_ed25519 -C "1827945911@qq.com" + ```