Skip to content

Commit 9a18dcb

Browse files
GiteaBotlunny
andauthored
Fix actions design about default actions download url (#30360) (#30371)
Backport #30360 by @lunny Fix #30359 Co-authored-by: Lunny Xiao <[email protected]>
1 parent b8e9d3c commit 9a18dcb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/content/usage/actions/design.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ However, if a job container tries to fetch code from localhost, it will fail bec
104104
### Connection 3, act runner to internet
105105

106106
When you use some actions like `actions/checkout@v4`, the act runner downloads the scripts, not the job containers.
107-
By default, it downloads from [gitea.com](http://gitea.com/), so it requires access to the internet.
107+
By default, it downloads from [github.com](http://github.com/), so it requires access to the internet. If you configure the `DEFAULT_ACTIONS_URL` to `self`, then it will download from your Gitea instance by default. Then it will not connect to internet when downloading the action itself.
108108
It also downloads some docker images from Docker Hub by default, which also requires internet access.
109109

110110
However, internet access is not strictly necessary.

docs/content/usage/actions/design.zh-cn.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ act runner 必须能够连接到Gitea以接收任务并发送执行结果回来
105105
### 连接 3,act runner到互联网
106106

107107
当您使用诸如 `actions/checkout@v4` 的一些Actions时,act runner下载的是脚本,而不是Job容器。
108-
默认情况下,它从[gitea.com](http://gitea.com/)下载,因此需要访问互联网。
108+
默认情况下,它从[github.com](http://github.com/)下载,因此需要访问互联网。如果您设置的是 self,
109+
那么默认将从您的当前Gitea实例下载,那么此步骤不需要连接到互联网。
109110
它还默认从Docker Hub下载一些Docker镜像,这也需要互联网访问。
110111

111112
然而,互联网访问并不是绝对必需的。

0 commit comments

Comments
 (0)