mirror of
https://github.com/seepine/action-docker-build-push.git
synced 2025-03-28 19:00:13 +08:00
fix: fix build-args
This commit is contained in:
parent
b0769a37de
commit
a140801d37
@ -39,6 +39,7 @@ inputs:
|
||||
build-args:
|
||||
description: "Docker build args"
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
@ -143,9 +144,9 @@ runs:
|
||||
push: ${{ inputs.push }}
|
||||
tags: ${{ steps.meta.outputs.TAGS }}
|
||||
labels: ${{ inputs.labels }}
|
||||
build-args: ${{ inputs.build-args }}
|
||||
cache-from: type=local,src=/opt/docker-cache/.build-cache
|
||||
cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max
|
||||
build-args: |
|
||||
"http_proxy='${{ env.http_proxy }}'"
|
||||
"https_proxy='${{ env.https_proxy }}'"
|
||||
${{ inputs.build-args }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user