From 4b140a1a0cc54e93512b69c175355e5d66de489f Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Wed, 1 Mar 2023 16:41:15 +0800 Subject: [PATCH] =?UTF-8?q?:rocket:=20=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-cloud/Jenkins/image/README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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" + ```