proxy
This commit is contained in:
8
.github/workflows/publish_docker.yml
vendored
8
.github/workflows/publish_docker.yml
vendored
@@ -19,6 +19,10 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: './Dockerfile'
|
default: './Dockerfile'
|
||||||
|
http_proxy:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: 'http://192.168.0.20:7890'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -70,8 +74,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
network: host
|
network: host
|
||||||
build-args: |
|
build-args: |
|
||||||
http_proxy=http://192.168.0.20:7890
|
http_proxy=${{ inputs.http_proxy }}
|
||||||
https_proxy=http://192.168.0.20:7890
|
https_proxy=${{ inputs.http_proxy }}
|
||||||
version=${{ steps.meta.outputs.version }}
|
version=${{ steps.meta.outputs.version }}
|
||||||
context: ${{ inputs.docker_context }}
|
context: ${{ inputs.docker_context }}
|
||||||
file: ${{ inputs.dockerfile_path }}
|
file: ${{ inputs.dockerfile_path }}
|
||||||
|
|||||||
Reference in New Issue
Block a user