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
|
||||
type: string
|
||||
default: './Dockerfile'
|
||||
http_proxy:
|
||||
required: false
|
||||
type: string
|
||||
default: 'http://192.168.0.20:7890'
|
||||
|
||||
|
||||
jobs:
|
||||
@@ -70,8 +74,8 @@ jobs:
|
||||
with:
|
||||
network: host
|
||||
build-args: |
|
||||
http_proxy=http://192.168.0.20:7890
|
||||
https_proxy=http://192.168.0.20:7890
|
||||
http_proxy=${{ inputs.http_proxy }}
|
||||
https_proxy=${{ inputs.http_proxy }}
|
||||
version=${{ steps.meta.outputs.version }}
|
||||
context: ${{ inputs.docker_context }}
|
||||
file: ${{ inputs.dockerfile_path }}
|
||||
|
||||
Reference in New Issue
Block a user