添加镜像源配置
This commit is contained in:
5
.github/workflows/publish_docker.yml
vendored
5
.github/workflows/publish_docker.yml
vendored
@@ -22,6 +22,10 @@ on:
|
||||
type: string
|
||||
# default: 'http://192.168.0.20:7890'
|
||||
default: 'http://act_clash:7890'
|
||||
registry-mirror:
|
||||
required: false
|
||||
type: string
|
||||
default: 'https://docker.1ms.run'
|
||||
runs_on:
|
||||
required: false
|
||||
type: string
|
||||
@@ -66,6 +70,7 @@ jobs:
|
||||
network=act_runner_default
|
||||
env.http_proxy=http://act_clash:7890
|
||||
env.https_proxy=http://act_clash:7890
|
||||
registry-mirror=${{ inputs.registry-mirror }}
|
||||
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v2
|
||||
|
||||
Reference in New Issue
Block a user