添加镜像源配置

This commit is contained in:
smf
2025-10-07 16:31:24 +08:00
parent 94b1e5d05b
commit 7af3b6d3a6

View File

@@ -22,6 +22,10 @@ on:
type: string type: string
# default: 'http://192.168.0.20:7890' # default: 'http://192.168.0.20:7890'
default: 'http://act_clash:7890' default: 'http://act_clash:7890'
registry-mirror:
required: false
type: string
default: 'https://docker.1ms.run'
runs_on: runs_on:
required: false required: false
type: string type: string
@@ -66,6 +70,7 @@ jobs:
network=act_runner_default network=act_runner_default
env.http_proxy=http://act_clash:7890 env.http_proxy=http://act_clash:7890
env.https_proxy=http://act_clash:7890 env.https_proxy=http://act_clash:7890
registry-mirror=${{ inputs.registry-mirror }}
- name: Login to Docker Registry - name: Login to Docker Registry
uses: docker/login-action@v2 uses: docker/login-action@v2