This commit is contained in:
smf
2024-03-08 10:18:22 +08:00
parent a60e00669b
commit 7887197ac7

View File

@@ -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 }}